Skip to content

VERSION 0.2.4

VERSION 0.2.4 #41

Workflow file for this run

name: Github Pages Deployment
on:
push:
branches: ["main"]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install azcausal
run: pip install '.[full]'
- name: Install Documentation Dependencies
run: pip install -r docs/requirements.txt
- name: Run Jupyter Notebooks
run: python docs/run_ipynb.py
- uses: ammaraskar/sphinx-action@master
with:
docs-folder: "docs/"
pre-build-command: "apt-get install -y pandoc && pip install pandoc"
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: 'docs/build/html/'
# - name: Deploy to GitHub Pages
# id: deployment
# uses: actions/deploy-pages@v2