Skip to content

Commit

Permalink
Try building docs & deploying
Browse files Browse the repository at this point in the history
  • Loading branch information
pgleeson committed Sep 12, 2023
1 parent 55a2961 commit f4ecdcc
Showing 1 changed file with 31 additions and 2 deletions.
33 changes: 31 additions & 2 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,44 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:

- name: Checkout
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9

- name: Install package
run: |
python -m pip install --upgrade pip
pip install .[dev]
- name: List packages so far
run: |
pip list
- name: Build Documentation
run: |
pip install .[docs]
cd docs
python generate.py
python contributors.py
cd sphinx
make clean
make html
- name: Setup Pages
uses: actions/configure-pages@v3

- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
# Upload entire repository
path: '.'
# Upload just docs
path: 'docs/sphinx/build/html'

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2

0 comments on commit f4ecdcc

Please sign in to comment.