Last active
September 16, 2022 23:42
-
-
Save jph00/539802323ff9d09e7c536c28fcfceff4 to your computer and use it in GitHub Desktop.
Deploy quarto website via gh actions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Quarto Publish | |
on: | |
workflow_dispatch: | |
push: { branches: master } | |
jobs: | |
build-deploy: | |
runs-on: ubuntu-latest | |
permissions: {contents: write} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: quarto-dev/quarto-actions/setup@v2 | |
- name: Render and Publish | |
uses: quarto-dev/quarto-actions/publish@v2 | |
with: {target: gh-pages} | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment