
I am deploying my Flutter web app using Firebase Hosting via VS Code, but after a successful deployment, I only see a 'Deploy complete' window rather than the actual website. The initial deployment works fine; however, subsequent updates show this deploy page.
My deployment process involves running the following commands without any errors:
firebase init hosting
flutter build web
firebase deploy
The deploy output confirms success with a project Console link and a Hosting URL (e.g., https://groupchangingwebsite.web.app), but the site only displays the deploy complete window.
This is my current firebase.json configuration:
{
"hosting": {
"public": "build/web",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
}
Steps I have tried so far:
- Modified redirection in firebase.json to point to
build/web, confirmed with ls build/web showing all expected files (assets, canvaskit, index.html, etc.)
- Disabled cache using
firebase hosting:disable and redeployed with:
firebase deploy --only hosting
The deployment log is as follows:
=== Deploying to 'groupchangingwebsite'...
i deploying hosting
i hosting[groupchangingwebsite]: beginning deploy...
i hosting[groupchangingwebsite]: found 32 files in build/web
+ hosting[groupchangingwebsite]: file upload complete
i hosting[groupchangingwebsite]: finalizing version...
+ hosting[groupchangingwebsite]: version finalized
i hosting[groupchangingwebsite]: releasing new version...
+ hosting[groupchangingwebsite]: release complete
+ Deploy complete!
Hosting URL: https://groupchangingwebsite.web.app
- Rebuilt the website using:
- Updated the Firebase CLI and cleared the browser cache with Ctrl+F5
- Checked Firebase Hosting logs for errors, but nothing appears abnormal
I have followed several recommendations from the Firebase Hosting documentation and related posts, yet the issue persists only during subsequent deployments after changes are made. What could be causing the deploy complete window to appear instead of my updated Flutter web app?