Skip to content

chore(download): update packages #11

chore(download): update packages

chore(download): update packages #11

Workflow file for this run

name: Deploy
on:
push:
branches: ["main"]
workflow_dispatch:
concurrency:
group: pages
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: astral-sh/setup-uv@v7
- uses: taiki-e/install-action@v2
with:
tool: just, mdbook
- uses: Swatinem/rust-cache@v2
with:
workspaces: typst-extra-docs
- name: Install mdbook-typst-highlight (unreleased version)
run: |
cargo install --git https://github.com/sitandr/mdbook-typst-highlight --branch main
# The following two steps are unnecessary, but help with debugging.
- name: Build the preprocessor
run: |
cargo build --release --manifest-path ./typst-extra-docs/Cargo.toml
ln -s ./typst-extra-docs/target/release/typst-extra-docs ./mdbook-typst-extra-docs
- uses: actions/upload-artifact@v4
with:
name: mdbook-typst-extra-docs
path: ./mdbook-typst-extra-docs
- run: just build
- uses: actions/upload-pages-artifact@v3
with:
path: ./book
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
permissions:
contents: read
pages: write
id-token: write
steps:
- uses: actions/deploy-pages@v4
id: deployment