Skip to content

Merge pull request #8 from olincollege/SAN-29-Collect-population-density #4

Merge pull request #8 from olincollege/SAN-29-Collect-population-density

Merge pull request #8 from olincollege/SAN-29-Collect-population-density #4

Workflow file for this run

name: Deploy Sphinx Docs to GitHub Pages
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12.4'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r docs/requirements.txt -r requirements.txt
- name: Build Sphinx documentation
run: |
cd docs
make html
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/build/html