Skip to content

Commit

Permalink
Add render step for pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
aromanielloNTIA committed Nov 20, 2024
1 parent 3dc88ab commit 8810667
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/quarto-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ jobs:
python-version: '3.10'
- run: pip install jupyter

- name: Render Quarto Project
if: ${{ github.event_name == 'pull_request' }}
uses: quarto-dev/quarto-actions/render@v2
with:
to: html

- name: Publish to GitHub Pages
if: ${{ github.event_name == 'push' }}
uses: quarto-dev/quarto-actions/publish@v2
Expand Down

0 comments on commit 8810667

Please sign in to comment.