Open yamankatby opened 1 year ago
I have been getting this same error.
It looks like the culprit may be that the called action (FirebaseExtended/action-hosting-deploy@v0) doesn't enable webframeworks.
The following error is copied from the build_and_deploy
action's output on the step that runs FirebaseExtended/action-hosting-deploy@v0
.
Error: Cannot deploy a web framework to hosting because the experiment webframeworks is not enabled. To enable webframeworks run firebase experiments:enable webframeworks
It looks like this works: add
steps:
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_... }'
...
env:
FIREBASE_CLI_EXPERIMENTS: webframeworks
The last part, adding env with FIREBASE_CLI_EXPERIMENTS is what got me past this error.
Here is a helpful Stack Overflow link.
Did you manage to fix this? @yamankatby
I now have the same bug but with exit code 2...
Is there any update on the situation or should I open a new issue?
I now have the same bug but with exit code 2...
Is there any update on the situation or should I open a new issue?
Add a firebaseToolsVersion:
specify what tool version to use
Which firebaseToolsVersion
works?
+1
while I change public: public
in firebase.json overcome this error stage
{ "hosting": { "public": "public", "ignore": [ "firebase.json", "**/.*", "**/node_modules/**" ],
I'm getting this error in the
Deploying to production site
groupAction config
Error message
Expected behavior
Actual behavior