Skip to content

Commit

Permalink
quarto render for non-main branches (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
paddyroddy authored Jun 25, 2024
1 parent 08e0fbb commit 0003b99
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion actions/github-pages/quarto/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,13 @@ runs:
# yamllint disable-line rule:line-length
uses: quarto-dev/quarto-actions/setup@c1b50d36cf3c22b3dc7e530bd1b36634e824e545 # v2

- name: Render and Publish
- name: Render ${{ github.ref_name }} branch
if: github.ref != 'refs/heads/main'
# yamllint disable-line rule:line-length
uses: quarto-dev/quarto-actions/render@c1b50d36cf3c22b3dc7e530bd1b36634e824e545 # v2

- name: Publish main branch
if: github.ref == 'refs/heads/main'
# yamllint disable-line rule:line-length
uses: quarto-dev/quarto-actions/publish@c1b50d36cf3c22b3dc7e530bd1b36634e824e545 # v2
with:
Expand Down

0 comments on commit 0003b99

Please sign in to comment.