Skip to content

Merge pull request #16 from diazwatson/patch-1 #28

Merge pull request #16 from diazwatson/patch-1

Merge pull request #16 from diazwatson/patch-1 #28

Workflow file for this run

name: Build & Deploy Documentation
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
name: Build Documentation
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Run Sphinx documentation build
uses: ammaraskar/[email protected]
with:
docs-folder: "./"
- name: Upload documentation artifact
uses: actions/upload-pages-artifact@v1
with:
path: _build/html/
deploy:
name: Deploy Documentation
needs: build
runs-on: ubuntu-latest
environment:
name: main
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1