Skip to content

Commit

Permalink
Workflow naming and acc cd ..
Browse files Browse the repository at this point in the history
  • Loading branch information
jatkinson1000 committed Oct 21, 2023
1 parent 365128a commit d2767cb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/deploy_pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,17 @@ jobs:
run: |
cd slides
quarto render *.qmd
cd ../
- name: Test docs build
- name: Test pages build
if: github.ref != 'refs/heads/main'
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: docs-test # The branch the action should deploy to.
branch: pages-test # The branch the action should deploy to.
folder: slides # The folder the action should deploy.
dry-run: true # Don't actually push to pages, just test if we can

- name: Deploy Documentation for master
- name: Deploy pages for master
# if: github.ref == 'refs/heads/main'
if: github.ref == 'refs/heads/slides-pages'
uses: JamesIves/github-pages-deploy-action@v4
Expand Down

0 comments on commit d2767cb

Please sign in to comment.