Skip to content

update requirements #31

update requirements

update requirements #31

Workflow file for this run

name: Update website
on:
push:
branches:
- sphinx
workflow_dispatch:
jobs:
build:
strategy:
max-parallel: 1
matrix:
language: [en, ca]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install requirements
run: python -m pip install -r sphinx_source/requirements.txt
- name: Build documentation
run: |
export WEBSITE_LANGUAGE=${{ matrix.language }}
python -m sphinx sphinx_source website -b html -D language=${{ matrix.language}}
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
publish_branch: sphinx-build
publish_dir: ./website
destination_dir: ${{ matrix.language }}
github_token: ${{ secrets.GITHUB_TOKEN }}