Skip to content

Start: Do not abort on category without course #24

Start: Do not abort on category without course

Start: Do not abort on category without course #24

Workflow file for this run

name: Publish docs to GitHub pages
on:
push:
branches: [master]
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install poetry
run: "curl -sSL https://install.python-poetry.org | python3 -"
- name: Install python
uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: "poetry"
- name: Install project dependencies
run: "poetry install"
- name: Setup GitHub Pages
id: pages
uses: actions/configure-pages@v2
- name: Build sphinx documentation
run: |
cd docs
poetry run make html
cd ..
- name: Upload Docs Artifact
uses: actions/upload-pages-artifact@v1
with:
path: docs/_build/html
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build-docs
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1