FirebaseExtended / action-hosting-deploy

Automatically deploy shareable previews for your Firebase Hosting sites
https://firebase.google.com/docs/hosting/github-integration
Apache License 2.0
695 stars 202 forks source link

[BUG] Preview deploy returns error with firebase-tools recently #158

Closed MasaGon closed 1 year ago

MasaGon commented 3 years ago

Action config

      - name: <Development> Deploy for Preview
        if: endsWith(github.base_ref, 'release/development')
        uses: FirebaseExtended/action-hosting-deploy@v0
        with:
          repoToken: '${{ secrets.GITHUB_TOKEN }}'
          firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_DY_DEVELOPMENT }}'
          projectId: dy-development
        env:
          FIREBASE_CLI_PREVIEWS: hostingchannels

Error message

Deploying to Firebase preview channel pr911-develop
  /usr/local/bin/npx firebase-tools hosting:channel:deploy pr911-develop --expires 7d --project dy-development --json
  ***
    "status": "error",
    "error": "HTTP Error: 400, Request contains an invalid argument."
  ***
  ***
    "status": "error",
    "error": "HTTP Error: 400, Request contains an invalid argument."
  ***

  The process '/usr/local/bin/npx' failed with exit code 1
  Retrying deploy with the --debug flag for better error output

Expected behavior

No error as a few weeks before.

Actual behavior

With error.

drummerjolev commented 3 years ago

Same bug: https://github.com/FirebaseExtended/action-hosting-deploy/issues/159

stevecode21 commented 3 years ago

Now it's working, can you test it again?

drummerjolev commented 3 years ago

Works again for me as well, looks like they resolved it on their end

MasaGon commented 3 years ago

Now it's working for me.