feat: Add FWI API route (#84) #57
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-deploy | |
on: | |
push: | |
branches: [master] | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
persist-credentials: false | |
- name: Set up Python 3.10.5 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.10 | |
- name: Install dependencies | |
run: poetry install | |
- name: Build documentation | |
run: | | |
poetry run sphinx-build docs/source docs/build -a -v | |
- name: Install SSH Client 🔑 | |
uses: webfactory/ssh-agent@v0.4.1 | |
with: | |
ssh-private-key: ${{ secrets.SSH_DEPLOY_KEY }} | |
- name: Deploy to Github Pages | |
uses: JamesIves/github-pages-deploy-action@3.7.1 | |
with: | |
BRANCH: gh-pages | |
FOLDER: 'docs/build' | |
COMMIT_MESSAGE: '[skip ci] Documentation updates' | |
CLEAN: true | |
SSH: true | |