Skip to content

Merge pull request #79 from cr3ation/main #35

Merge pull request #79 from cr3ation/main

Merge pull request #79 from cr3ation/main #35

Workflow file for this run

name: Publish Documentation
on:
push:
branches:
- 'main'
paths:
- 'docs/**'
- 'src/**'
workflow_dispatch:
inputs:
ref:
description: The branch, tag, or commit SHA1 to build the docs from.
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: ${{ inputs.ref }}
- name: Setup Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: '3.9'
- name: Build Sphinx Docs
run: |
make install
make docs
- name: Upload Artifact
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
with:
path: 'build/docs/'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5.0.0