Fix Dockerfiles + CI job for building and uploading docker images (#22) #13
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: Doc | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
doc-build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
- name: Prepare | |
run: pip install sphinx sphinx_rtd_theme | |
- name: Build | |
run: sphinx-build doc doc/_build | |
- name: Deploy | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
branch: gh-pages | |
folder: doc/_build | |
clean: true | |
token: ${{ secrets.GITHUB_TOKEN }} |