Skip to content

Commit

Permalink
install quarto in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
etiennebacher committed Nov 25, 2023
1 parent 8f059a3 commit 1abad6f
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ jobs:
use-public-rspm: true
Ncpus: 2

# altdoc uses quarto
- uses: quarto-dev/quarto-actions/setup@v2

- name: Get requirements
run: |
make requirements-r
Expand All @@ -80,17 +83,17 @@ jobs:
run: make docs

- uses: webfactory/ssh-agent@v0.6.0
env:
env:
DEPLOY_DOCS: ${{ secrets.DEPLOY_DOCS }}
if: ${{ (github.event_name != 'pull_request') && (github.repository_owner == 'pola-rs') }}
if: ${{ (github.event_name != 'pull_request') && (github.repository_owner == 'pola-rs') }}
with:
ssh-private-key: ${{ secrets.DEPLOY_DOCS }}

# https://www.mkdocs.org/user-guide/deploying-your-docs/
- name: Build site and deploy to GitHub pages
env:
env:
DEPLOY_DOCS: ${{ secrets.DEPLOY_DOCS }}
if: ${{ (github.event_name != 'pull_request') && (github.repository_owner == 'pola-rs') }}
if: ${{ (github.event_name != 'pull_request') && (github.repository_owner == 'pola-rs') }}
uses: JamesIves/github-pages-deploy-action@v4
with:
clean: true
Expand Down

0 comments on commit 1abad6f

Please sign in to comment.