Skip to content

Commit

Permalink
Trigger workflow on this branch.
Browse files Browse the repository at this point in the history
  • Loading branch information
jatkinson1000 committed Oct 21, 2023
1 parent f3e9098 commit 3edf050
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/deploy_pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]

Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 3edf050

Please sign in to comment.