From 7e97e336b01a8776120a282adff2fe99beb34dbf Mon Sep 17 00:00:00 2001 From: Joshua Seigler Date: Sun, 9 Oct 2022 23:38:30 -0400 Subject: [PATCH] update gh workflow, more bulletproof --- .github/workflows/pages.yml | 3 ++- README.md | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index d3aeb1f..71dae1f 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -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: diff --git a/README.md b/README.md index 5cb4702..7c63d9a 100644 --- a/README.md +++ b/README.md @@ -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.