Skip to content

raletively stable with one working algorithm: ready to test #24

raletively stable with one working algorithm: ready to test

raletively stable with one working algorithm: ready to test #24

Workflow file for this run

name: Docs
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
docs:
runs-on: ubuntu-latest
steps:
- name: Checkout files
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install Python
uses: actions/setup-python@v2
- name: Install prerequisites
run: pip install -e .[dev]
- name: Build & Deploy Docs
shell: bash
run: |
git status
git config --local user.email "github-actions-bot@users.noreply.github.com"
git config --local user.name "Github Actions Bot"
cd docs/
make html
cd build/html/
cd ../../../
git checkout gh-pages
mv docs/build/html/_static .static
mv docs/build/html/* .
shopt -s extglob
rm -rf !(README.md|*.html|*.js|*.json)
mv .static/ _static/
git add .
git commit -m "Update docs for commit ${GITHUB_SHA}" -a || echo "Nothing to commit"
git push