Skip to content

Extended documentaiton #57

Extended documentaiton

Extended documentaiton #57

Workflow file for this run

name: Documentation
on:
push:
branches:
- master
jobs:
build-n-deploy:
name: Build and deploy
runs-on: ubuntu-22.04
steps:
- name: Checkout code πŸ›ŽοΈ
uses: actions/[email protected]
with:
persist-credentials: false
- name: Set up Python 3.8 🐍
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install dependencies πŸ’Ύ
run: |
pip install -r requirements.txt
pip install -r requirements-dev.txt
- name: Build the documentation πŸ”§πŸ“–
run: |
cd docs
make html
- name: Deploy πŸš€
if: github.ref == 'refs/heads/master'
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: docs/build/html
CLEAN: true