Skip to content

Some minor cleanup as i try to read things #92

Some minor cleanup as i try to read things

Some minor cleanup as i try to read things #92

Workflow file for this run

on:
workflow_dispatch:
push:
branches:
- main
- quarto
name: Quarto Publish
jobs:
build-deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Install necessary APT packages
run: |
sudo apt-get update
sudo apt install -y ttf-mscorefonts-installer
sudo apt install -y texlive-latex-extra texlive-luatex
sudo apt install -y fonts-liberation2
- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2
with:
tinytex: true
- name: Debugging
run: |
echo "Quarto version:"
quarto --version
echo "Python version:"
python --version
echo "Quarto config:"
quarto list tools
echo "Listing known fonts"
fc-list : family
echo "Listing LaTeX packages"
kpsewhich --var-value=TEXMFHOME
kpsewhich --var-value=TEXMFLOCAL
- uses: actions/setup-python@v4
with:
python-version: '3.12'
- run: pip install jupyter
- name: Render Book project
uses: quarto-dev/quarto-actions/render@v2
env:
QUARTO_PROFILE: 'github'
# with:
# to: html pdf
- name: Publish HTML book
uses: quarto-dev/quarto-actions/publish@v2
with:
target: gh-pages
render: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}