-
Notifications
You must be signed in to change notification settings - Fork 196
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
Deployment stopped working due to a permissions error introduced in firebase-tools 13.0.0 #215
Comments
See comment: firebase/firebase-tools#6593 (comment) These permissions would be added to your service account in the Google Cloud / Firebase console. This guide should help. Once the service account has been given the permission, try deployment again. |
Thanks @luc122c I added the advised permissions to ci-account@ Thanks for you great work with this Action. |
Yes, you will need to update you action to target that version specifically: - name: Deploy to Firebase
- uses: w9jds/firebase-action@master
+ uses: w9jds/firebase-action@v12.9.0
with:
args: deploy --only hosting
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }} Availale versions are listed here: https://github.com/w9jds/firebase-action/releases |
Thanks very much @luc122c |
Is someone maintaining this repo? |
Yes, I built and maintain this. |
Please see this issue on firebase-tools: firebase/firebase-tools#6593
Their solution is to give more permissions to service account until they manage to roll out a fix to IAM.
Unfortunately their fix does not resolve the error, but instead of
Error: HTTP Error: 403, Permission 'firebasestorage.defaultBucket.get' denied on resource '//firebasestorage.googleapis.com/projects/myProjectId/defaultBucket' (or it may not exist).
we now get:
Error: HTTP Error: 403, The caller does not have permission
It seems like a solution to downgrade to version 12.9, but I can't figure out how to do that using your action. I believe you hint that it is possible here, https://github.com/w9jds/firebase-action?tab=readme-ov-file#alternate-versions, but I don't understand how.
The text was updated successfully, but these errors were encountered: