Member-only story
How To Fix Firebase Hosting Errors When Using Automatic Deployment With GitHub
Fix a pipeline error with status code 403 and the message “Resource not accessible by integration”.
Firebase Hosting offers a neat feature to automatically deploy a web app to a preview channel when a new pull request is created on GitHub. With that feature, testers can verify changes and give constructive feedback while the productive web app is not affected. But without proper configuration, the GitHub Action can run into errors. So here is how to fix Firebase Hosting errors when using automatic deployment with GitHub.
Let’s assume, your GitHub setup is already in place. If not, then here is a short description of how you can set it up. Your workflow looks like this:
- Create a new branch
- Make some changes
- Commit and push the changes
- Create a pull request on GitHub
The GitHub Action is triggered and executes the workflow. In my example, I am using a Flutter web app. Before the deployment, I installed the GitHub Action for Flutter to build the web app. In the next step, the app gets deployed to a preview channel.
💡 A preview channel in Firebase Hosting is a temporary…