Skip to content

Workflow file for this run

name: GitHub Pages Deploy
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Deno
uses: denolib/setup-deno@v2
with:
deno-version: v1.x
- uses: typst-community/setup-typst@v3
- name: Compile Site
run: deno task build
env:
TYPST_FONT_PATHS: fonts
- run: typst fonts
env:
TYPST_FONT_PATHS: fonts
- run: which cargo
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site