Skip to content

Update quarto-publish.yml #12

Update quarto-publish.yml

Update quarto-publish.yml #12

Workflow file for this run

name: "Quarto Render and Publish to Pages"
on:
push:
branches: [ main, quarto/**]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2
with:
# To install LaTeX to build PDF book
tinytex: true
- name: "Install Conda environment"
uses: "mamba-org/provision-with-micromamba@main"
with:
cache-env: true
- name: Publish to GitHub Pages (and render)
uses: quarto-dev/quarto-actions/publish@v2
with:
target: gh-pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # this secret is always available for github actions