Skip to content

Merge pull request #10 from emdgroup/docs/furo_theme #3

Merge pull request #10 from emdgroup/docs/furo_theme

Merge pull request #10 from emdgroup/docs/furo_theme #3

Workflow file for this run

name: Documentation
on:
push:
branches: main
workflow_dispatch: # Allow manually triggering the workflow
concurrency:
group: >-
${{ github.workflow }}
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-py311
- name: Upload docs artifact
uses: actions/upload-pages-artifact@v1
with:
path: 'build/docs'
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