update gh workflow, more bulletproof

This commit is contained in:
Joshua Seigler 2022-10-09 23:38:30 -04:00
parent 17e25752a0
commit 7e97e336b0
2 changed files with 4 additions and 2 deletions

View file

@ -4,7 +4,8 @@ name: Deploy static content to Pages
on:
# Runs on pushes targeting the default branch
push:
branches: ['main']
branches:
- main
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

View file

@ -28,4 +28,5 @@ Populate `./dist` with a packaged build, ready for upload
### Notes
Includes a GitHub workflow to automatically build to GitHub Pages. The workflow may require adjusting if your primary branch isn't `main` or the repo isn't named `react-state-management`.
Includes a GitHub workflow to automatically build to GitHub Pages.
If your default branch is not `main` the workflow will need to be edited.