Skip to content

Update the version to 0.2.0 #71

Update the version to 0.2.0

Update the version to 0.2.0 #71

Workflow file for this run

name: Publish Documentation
on:
workflow_dispatch:
push:
branches:
- main
tags:
- 'v*'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
pages: write
id-token: write
jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up GitHub Pages
uses: actions/configure-pages@v5
- name: Set up Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Install dependencies
run: |
sudo apt-get update && sudo apt-get upgrade -y
sudo apt-get install -y gcc curl pkg-config libssl-dev make
- name: Generate documentation
run: |
pip install uv && uv sync --extra dev
source .venv/bin/activate && make docs
- name: Download playground artifact
uses: dawidd6/action-download-artifact@v6
with:
workflow: web.yml
workflow_conclusion: success
name: playground
path: ./site/playground
if_no_artifact_found: warn
allow_forks: false
- name: Upload documentation artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./site
deploy-docs:
needs: build-docs
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy documentation
id: deployment
uses: actions/deploy-pages@v4