Skip to content

LI-197586 Pin coveralls-python-action to release SHA (#68) #31

LI-197586 Pin coveralls-python-action to release SHA (#68)

LI-197586 Pin coveralls-python-action to release SHA (#68) #31

Workflow file for this run

name: Update Documentation
on:
workflow_dispatch:
push:
branches:
- master
permissions:
contents: read
concurrency:
group: pages
cancel-in-progress: true
jobs:
build:
name: Build documentation
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
cache: pip
- name: Install tools
run: make build
- name: Clean
run: make dev
- name: Generate documentation
run: make docs
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v4
with:
name: github-pages
path: doc/_build/html
deploy:
name: Deploy documentation
needs: build
runs-on: ubuntu-latest
permissions:
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@v4