Skip to content

Commit

Permalink
Update readme (#19)
Browse files Browse the repository at this point in the history
Fixes firebase deploy line for instances with only one environment not named "prod". Also added instructions for adding a custom environment name to that deploy command.
  • Loading branch information
itwasmattgregg authored and w9jds committed Dec 12, 2019
1 parent 61ad6d7 commit 17e2620
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,14 @@ jobs:
- name: Deploy to Firebase
uses: w9jds/firebase-action@master
with:
args: deploy --only hosting:prod
args: deploy --only hosting
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
```
If you have multiple hosting environments you can specify which one in the args line.
e.g. `args: deploy --only hosting:[environment name]`

## License

The Dockerfile and associated scripts and documentation in this project are released under the [MIT License](LICENSE).
Expand Down

0 comments on commit 17e2620

Please sign in to comment.