Skip to content

Commit

Permalink
update to new quarto's actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jkanche committed Jan 4, 2024
1 parent a64992c commit c509c58
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,19 @@ jobs:
- name: Install Python and Dependencies
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.9'
cache: 'pip'
- run: pip install jupyter
- run: pip install -r requirements.txt

- name: Render
uses: quarto-dev/quarto-actions/render@v2
with:
to: html

- name: Publish to GH Pages
if: github.ref == 'refs/heads/master'
uses: JamesIves/[email protected]
uses: quarto-dev/quarto-actions/publish@v2
with:
branch: gh-pages # The branch the action should deploy to.
folder: docs
clean: true # Automatically remove deleted files from the deploy branch
target: gh-pages # The branch the action should deploy to.
render: false

0 comments on commit c509c58

Please sign in to comment.