action-hosting-deploy icon indicating copy to clipboard operation
action-hosting-deploy copied to clipboard

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

Open MasaGon opened this issue 3 years ago • 4 comments

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.

MasaGon avatar Sep 21 '21 07:09 MasaGon

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

drummerjolev avatar Sep 21 '21 09:09 drummerjolev

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

stevecode21 avatar Sep 21 '21 13:09 stevecode21

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

drummerjolev avatar Sep 21 '21 13:09 drummerjolev

Now it's working for me.

MasaGon avatar Sep 22 '21 08:09 MasaGon