Add nojekyll files #42
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: Build and Deploy | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: write | |
pages: write | |
jobs: | |
quarto-linux: | |
runs-on: ubuntu-latest | |
steps: | |
# Update Ubuntu packages | |
- name: Update apt | |
run: sudo apt update | |
# Install additional Ubuntu packages | |
- name: Install additional packages | |
run: sudo apt-get install -y librsvg2-bin libcurl4-openssl-dev libharfbuzz-dev libfribidi-dev | |
# Checkout repository | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
# Setup Python with a fixed version | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- run: pip install -r requirements.txt | |
# Setup Quarto with fixed version | |
- name: Setup Quarto | |
uses: quarto-dev/quarto-actions/setup@v2 | |
with: | |
tinytex: true | |
version: 1.4.553 | |
# Render full profile | |
- name: Publish to GitHub Pages (and render) | |
uses: quarto-dev/quarto-actions/publish@v2 | |
with: | |
target: gh-pages | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # this secret is always available for github actions | |
QUARTO_PROFILE: full | |
# Render Klausur profile | |
- name: Publish to GitHub Pages (and render) | |
uses: quarto-dev/quarto-actions/publish@v2 | |
with: | |
target: gh-pages | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # this secret is always available for github actions | |
QUARTO_PROFILE: klausur |