Skip to content

Escaping (#1024)

Escaping (#1024) #38

Workflow file for this run

name: docs
on:
push:
branches: [master]
paths:
- 'docs/**'
- '.github/workflows/docs.yml'
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@stable
- name: Build Zola + upload Pages artifact
uses: getzola/github-pages@066755243e69f508fd1a74739fbf1a65f656c790
with:
zola_version: v0.23.4
- name: Build docs
run: zola build
working-directory: docs
- uses: actions/configure-pages@v6
- uses: actions/upload-pages-artifact@v5
with:
path: docs/public
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v5