Merge pull request #76 from h4ndzdatm0ld/release/v2.1.0 #51
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: "Documentation" | |
on: | |
push: | |
branches: | |
- "develop" | |
jobs: | |
documentation: | |
name: "Documentation" | |
runs-on: "ubuntu-latest" | |
steps: | |
- name: "Check out repository code" | |
uses: "actions/checkout@v2" | |
- name: "Setup environment" | |
uses: "networktocode/gh-action-setup-poetry-environment@v3" | |
- name: "Sphinx Build" | |
run: "poetry run sphinx-build -vvv -b html ./docs ./docs/public" | |
- name: "Deploy auto generated documentation to GH-Pages" | |
uses: "peaceiris/actions-gh-pages@v3" | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: "./docs/public" |