Skip to content

Merge pull request #57 from lfleck/feature/support_git_submodules #53

Merge pull request #57 from lfleck/feature/support_git_submodules

Merge pull request #57 from lfleck/feature/support_git_submodules #53

Workflow file for this run

name: docs
on:
push:
branches:
- main
workflow_dispatch: # Allow manually triggering the workflow
concurrency:
group: >-
${{ github.workflow }}-${{ github.ref_type }}-
${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
pages: write
id-token: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with: {python-version: "3.11"}
- name: Build Docs
run: |
pip install tox
tox -e docs
- name: Upload docs artifact
uses: actions/upload-pages-artifact@v1
with:
path: 'docs/_build/html'
deploy:
needs: build
runs-on: ubuntu-latest
permissions:
contents: read
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1