Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Quarto PR Check

on:
pull_request:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read

steps:
- name: Check out repository
uses: actions/checkout@v4

- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2
with:
version: "1.6.42"

- name: Render Quarto Project
uses: quarto-dev/quarto-actions/render@v2

- name: Check if rendering succeeded
run: |
# Ensure the site folder is created
if [ ! -d "docs" ]; then
echo "Rendering failed: docs folder does not exist."
exit 1
fi

- name: Upload static files as artifact
uses: actions/upload-artifact@v4
with:
name: rendered-site
path: docs/