some reportlab and rm configparser #149
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Build and deploy doumentation" | |
on: | |
push: | |
paths: | |
- doc/** | |
pull_request: | |
paths: | |
- doc/** | |
workflow_dispatch: | |
inputs: | |
perform_deploy: | |
description: 'Perform deploy to GitHub Pages branch' | |
required: true | |
default: false | |
type: boolean | |
jobs: | |
doc-build-and-deploy: | |
name: Build and deploy documentation | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
# - name: Check py pkg installation | |
# run: | | |
# pip install wheel setuptools pip --upgrade | |
- name: Build documentation | |
uses: ammaraskar/[email protected] | |
with: | |
docs-folder: doc | |
- name: Deploy documentation | |
if: ${{ github.event_name == 'workflow_dispatch' && inputs.perform_deploy }} | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
branch: gh-pages | |
folder: doc/_build/html |