Skip to content

recommendations

recommendations #59

Workflow file for this run

name: Publish Documentation
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x' # Specify the Python version
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -U sphinx
python -m pip install sphinx-wagtail-theme
python -m pip install recommonmark
- name: Build documentation
run: |
cd docs
sphinx-build -b html . ./_build/html
- name: Copy Images
run: |
cp -r ./docs/images/ ./docs/_build/html/images/
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_build/html