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: Generate documentation for python modules | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Additional Software | |
run: | | |
pip3 install Sphinx | |
pip3 install sphinx-rtd-theme | |
- name: Generate Documentation | |
run: | | |
PATH=$PATH:~/.local/bin ./buildscript-documentation.sh | |
- name: Publish Documentation | |
uses: JamesIves/github-pages-deploy-action@releases/v3 | |
with: | |
BRANCH: gh-pages | |
ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
FOLDER: docs | |
TARGET_FOLDER: . |