Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] channelId can't be blank #403

Open
wneel opened this issue Dec 27, 2024 · 0 comments
Open

[BUG] channelId can't be blank #403

wneel opened this issue Dec 27, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@wneel
Copy link

wneel commented Dec 27, 2024

Action config

Env:
node: v18.20.5
npm: 10.8.2
firebase-tools: 13.29.1

uses: FirebaseExtended/action-hosting-deploy@v0
        with:
          repoToken: ${{ secrets.GITHUB_TOKEN }}
          firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_XXX }}
          projectId: xxx
          firebaseToolsVersion: "13.29.1"
          channelId:
          # same issue with "channelId" blank or without
        env:
          FIREBASE_CLI_EXPERIMENTS: webframeworks
          FIREBASE_FRAMEWORKS_BUILD_TARGET: production

Error message

[command]/opt/hostedtoolcache/node/18.20.5/x64/bin/npx [email protected] hosting:channel:deploy  --expires 7d --project xxx --json
{
  "status": "error",
  "error": "channelID is currently required"
}{
  "status": "error",
  "error": "channelID is currently required"
}
The process '/opt/hostedtoolcache/node/18.20.5/x64/bin/npx' failed with exit code 1

Expected behavior

According to the README the channelId can be manually set to live or leaved blank or "will be auto-generated per branch or PR".

When leaved blank no error should occur.

Actual behavior

Currently, in my case no channelID is generated and this line is being triggerd.

@wneel wneel added the bug Something isn't working label Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant