Skip to content

Merge pull request #5 from michaelk99/main #46

Merge pull request #5 from michaelk99/main

Merge pull request #5 from michaelk99/main #46

on:
workflow_dispatch:
push:
branches: main
name: Quarto Publish
jobs:
build-deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Install APT Dependencies
run: |
sudo apt update
sudo apt -y install librsvg2-bin
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2
with:
tinytex: true
- name: Install Python and Dependencies
uses: actions/setup-python@v4
with:
python-version: '3.x'
cache: 'pip'
- run: pip install -r requirements.txt
- name: Render and Publish
uses: quarto-dev/quarto-actions/publish@v2
with:
target: gh-pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}