Skip to content

Merge pull request #13 from lucascolley/renovate/actions-checkout-digest #34

Merge pull request #13 from lucascolley/renovate/actions-checkout-digest

Merge pull request #13 from lucascolley/renovate/actions-checkout-digest #34

Workflow file for this run

name: Quarto Publish
on:
push:
branches:
- main
- renovate/**
pull_request:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Set up Quarto
# yamllint disable-line rule:line-length
uses: quarto-dev/quarto-actions/setup@8a96df13519ee81fd526f2dfca5962811136661b # v2
- name: Render ${{ github.ref_name }} branch
if: github.ref != 'refs/heads/main'
# yamllint disable-line rule:line-length
uses: quarto-dev/quarto-actions/render@8a96df13519ee81fd526f2dfca5962811136661b # v2
- name: Publish main branch
if: github.ref == 'refs/heads/main'
# yamllint disable-line rule:line-length
uses: quarto-dev/quarto-actions/publish@8a96df13519ee81fd526f2dfca5962811136661b # v2
with:
target: gh-pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}