[Automated] Version Bump from 0.3.2 to 0.3.3 #61
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: | |
- main | |
jobs: | |
documentation: | |
# Prevent circular workflow run | |
if: "!contains(github.event.pusher.name, 'emnify-gha')" | |
name: Generate and publish Documentation | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{ github.token }} | |
- uses: actions/checkout@v3 | |
- name: Prepare doc-gen | |
run: docker build . -f docs/Dockerfile.dev -t emnify/python-sdk-docs | |
- name: Run doc-gen | |
run: docker run -t -v $(pwd):/docs emnify/python-sdk-docs | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./docs/build_sphinx |