Skip to content

Merge pull request #11 from evktalo/patch-1 #30

Merge pull request #11 from evktalo/patch-1

Merge pull request #11 from evktalo/patch-1 #30

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