Skip to content

Merge pull request #233 from smash-transport/sparkx_devel #64

Merge pull request #233 from smash-transport/sparkx_devel

Merge pull request #233 from smash-transport/sparkx_devel #64

Workflow file for this run

name: Build and Deploy Documentation
on:
push:
branches:
- main
permissions:
contents: write
pull-requests: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: true
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.9"
cache: "pip"
architecture: "x64"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Build documentation
run: |
cd docs
make clean && make html
- name: Deploy documentation
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.ACCESS_TOKEN }}
publish_dir: docs/build/html