CI: remove _freeze to build the entire page #4
Workflow file for this run
This file contains hidden or 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: 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 Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- name: Install Python dependencies | |
run: | | |
pip install jupyter | |
- 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/ |