Skip to content

Merge pull request #2 from cwickham/quarto-websites #9

Merge pull request #2 from cwickham/quarto-websites

Merge pull request #2 from cwickham/quarto-websites #9

Workflow file for this run

on:
push:
branches: main
pull_request:
branches: main
workflow_dispatch:
name: Build Site
jobs:
build-website:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
- name: Install Quarto CLI
uses: quarto-dev/quarto-actions/setup@v2
with:
tinytex: true
version: 1.4.547
- name: Render Quarto Project
uses: quarto-dev/quarto-actions/render@v2
- name: Deploy 🚀
if: github.event_name != 'pull_request'
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages # The branch the action should deploy to.
folder: _site # The folder the action should deploy.