From 3edf0500d2fb4ee0c62e180a7f88cd07e189a8ff Mon Sep 17 00:00:00 2001 From: jatkinson1000 <109271713+jatkinson1000@users.noreply.github.com> Date: Sat, 21 Oct 2023 20:43:01 +0100 Subject: [PATCH] Trigger workflow on this branch. --- .github/workflows/deploy_pages.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy_pages.yml b/.github/workflows/deploy_pages.yml index f0ad9fc..d8dd5e8 100644 --- a/.github/workflows/deploy_pages.yml +++ b/.github/workflows/deploy_pages.yml @@ -5,6 +5,8 @@ name: BuildPages # Controls when the workflow will run on: # Triggers the workflow on push or pull request events but only for the "main" branch + push: + branches: [ "main", "slides-pages" ] pull_request: branches: [ "main" ] @@ -40,7 +42,7 @@ jobs: - name: Deploy Documentation for master # if: github.ref == 'refs/heads/main' - if: github.ref == 'refs/heads/API-docs' + if: github.ref == 'refs/heads/slides-pages' uses: JamesIves/github-pages-deploy-action@v4 with: branch: gh-pages # The branch the action should deploy to.