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.