Merge pull request #1 from R-Walmsley/add-slides #4
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
on: | |
workflow_dispatch: | |
push: | |
branches: main | |
name: Quarto Render and Deploy to Netlify | |
jobs: | |
build-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Set up Quarto | |
uses: quarto-dev/quarto-actions/setup@v2 | |
- name: Render English | |
run: quarto render ${{ inputs.path }} --profile english | |
- name: Render French | |
run: quarto render ${{ inputs.path }} --profile french | |
# UNCOMMENT THESE LINES TO DO A DEPLOYMENT TO NETLIFY | |
# Require secrets added first | |
#- name: Publish | |
# uses: netlify/actions/cli@master | |
# with: | |
# args: deploy --dir=_site | |
# env: | |
# NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} | |
# NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |