Skip to content

Instantly share code, notes, and snippets.

@jph00
Last active September 16, 2022 23:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jph00/539802323ff9d09e7c536c28fcfceff4 to your computer and use it in GitHub Desktop.
Save jph00/539802323ff9d09e7c536c28fcfceff4 to your computer and use it in GitHub Desktop.
Deploy quarto website via gh actions
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