chore: try running quarto in one job #3
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
name: Deploy to GitHub Pages On PR (Quarto) | |
on: | |
push: | |
branches: | |
- main | |
# Allow this job to clone the repo and create a page deployment | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
# Uses quarto instructions and actions: https://quarto.org/docs/publishing/github-pages.html | |
jobs: | |
build-deploy: | |
runs-on: ubuntu-24.04 | |
permissions: | |
contents: write | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Set up Quarto | |
uses: quarto-dev/quarto-actions/setup@v2 | |
- name: Render and Publish | |
uses: quarto-dev/quarto-actions/publish@v2 | |
with: | |
target: gh-pages | |
path: frontend | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |