am using the FirebaseExtended/action-hosting-deploy@v0 GitHub Action to deploy a Flutter web application to Firebase Hosting. Every time I push changes to my code, the action runs and fails with an HTTP 400 error. However, despite the failure, the new changes are actually reflected on the live production site.
Project type: Flutter web application (build output is in
build/web).Action used:
FirebaseExtended/action-hosting-deploy@v0.Firebase project ID:
hotel-delivery-65492.Trigger: The workflow runs on
pushto the main branch.Local behavior: If I run
firebase deploy --only hostinglocally, it works perfectly without any errors.Additional warning (non-fatal): My
firebase.jsoncontains a property"flutter"which triggers a warning (unknown property), but removing it does not fix the issue.
Request to https://firebasehosting.googleapis.com/v1beta1/projects/-/sites/app-teste-65492/channels/live/releases?versionName=projects%2F43565238095%2Fsites%2Fapp-teste-65492%2Fversions%2Fffg60o2a0014032323 had HTTP Error: 400, Can't release to `projects/-/sites/app-teste-65492/channels/live`: supplied version `projects/43065038795/sites/app-teste-65492/versions/ffg632a044032123` is the current active version.