Skip to content

chore: Update Aside component and site configuration #28

chore: Update Aside component and site configuration

chore: Update Aside component and site configuration #28

Workflow file for this run

name: GitHub Pages Deploy
on:
push:
branches:
- main
jobs:
deploy:
permissions:
contents: read
pages: write
id-token: write
environment:
name: github-pages
url: ${{steps.deployment.outputs.page_url}}
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
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload Artifact
uses: actions/upload-pages-artifact@v2
with:
# upload entire directory
path: "./_site"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2