FirebaseExtended / FirebaseExtended/action-hosting-deploy
[BUG] UnhandledPromiseRejectionWarning: HttpError: Resource not accessible by integration
- Dominant language
- TypeScript
- Stars
- 809
- Forks
- 232
- PR merge metrics
- No merged PRs in 30d
Description
### Action config
```
- id: deploy-to-firebase
name: Deploy to Firebase
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_*** }}"
expires: 5d
projectId: ***
entryPoint: website/public
env:
FIREBASE_CLI_PREVIEWS: hostingchannels
```
### Error message
```
Run FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: ***
firebaseServiceAccount: ***
expires: 5d
projectId: ***
entryPoint: website/public
env:
SLACK_WEBHOOK_URL: ***
FIREBASE_CLI_PREVIEWS: hostingchannels
(node:4203) UnhandledPromiseRejectionWarning: HttpError: Resource not accessible by integration
at /home/runner/work/_actions/FirebaseExtended/action-hosting-deploy/v0/bin/action.min.js:1:29017
at processTicksAndRejections (internal/process/task_queues.js:93:5)
(node:4203) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:4203) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
```
### Expected behavior
- No error in de log
- Message in the pull request with url to the preview
- Preview deployed on Firebase Hosting Preview channels
### Actual behavior
- Error message in the log (see above)
- No deployment on Firebase Hosting Preview channels
- No message in the pull request
### Additional comment
One thing that is also a little bit weird in this case, is that the build doesn't fail. I would assume that if the deployment fails the build on Github Actions would also fail.
Contributor guide
Assessment
This issue has not been assessed yet.