Skip to content

Deploy to gh-pages #740

Deploy to gh-pages

Deploy to gh-pages #740

Workflow file for this run

name: Deploy to gh-pages
on:
workflow_dispatch:
workflow_run:
workflows:
- test
types:
- completed
jobs:
deploy:
if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: "pip"
- run: pip install -r requirements.txt
- name: Build Site
run: python build_site.py
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: dist