Skip to content

refactor: Refactor pyrorisks (#83) #56

refactor: Refactor pyrorisks (#83)

refactor: Refactor pyrorisks (#83) #56

Workflow file for this run

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@v1
with:
python-version: 3.10.5
- 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/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_DEPLOY_KEY }}
- name: Deploy to Github Pages
uses: JamesIves/[email protected]
with:
BRANCH: gh-pages
FOLDER: 'docs/build'
COMMIT_MESSAGE: '[skip ci] Documentation updates'
CLEAN: true
SSH: true