FirebaseExtended / FirebaseExtended/action-hosting-deploy

[BUG] Need to be able to pass run commands, so you can enable experiments.

Open
#251 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
809
Forks
232
PR merge metrics
No merged PRs in 30d

Description

### Action config

```
# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools

name: Deploy to Firebase Hosting on merge
'on':
push:
branches:
- main
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: npm ci && npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: {{REMOVED}}
channelId: live
projectId: {{REMOVED}}

```

### Error message

```
Error: Cannot deploy a web framework to hosting because the experiment webframeworks is not enabled. To enable webframeworks run firebase experiments:enable webframeworks
```

### Expected behavior

This would kind of be expected behaviour, as it is right to fail as experiments has not been enabled, however, it is impossible to enable experiments, as the firebase-tools package is installed before you can next run a command to enable it.

### Actual behavior

Errors

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.