Skip to content

feat: initialise specs from primitives #1029

feat: initialise specs from primitives

feat: initialise specs from primitives #1029

Workflow file for this run

# creates the documentation on pushes it to the gh-pages branch
name: Documentation
on:
push:
branches: [main]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
token: ${{ secrets.PAT }}
- name: Set up uv
shell: bash
# Install a specific uv version using the installer
run: curl -LsSf https://astral.sh/uv/0.4.0/install.sh | sh
- name: Set up Python
shell: bash
run: uv python install
- name: Install dependencies
shell: bash
run: |
make install
- name: Build and Commit
uses: sphinx-notes/pages@2.1
with:
documentation_path: docs
sphinx_version: "5.3.0"
- name: Push changes
if: ${{ github.event_name == 'push' }}
uses: ad-m/github-push-action@v0.6.0
with:
github_token: ${{ secrets.PAT }}
branch: gh-pages