Bump version to 0.1.11 #60
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Build documentation" | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up GCC | |
uses: egor-tensin/setup-gcc@v1 | |
with: | |
version: latest | |
platform: x64 | |
- uses: actions/checkout@v2 | |
- name: "Set up Python" | |
uses: actions/setup-python@v1 | |
with: | |
python-version: '3.11' | |
- name: "Install Pandoc" | |
run: | | |
sudo apt update -y | |
sudo apt install pandoc -y | |
- name: "Install Python dependencies" | |
run: | | |
cd doc/ | |
pip3 install setuptools | |
pip3 install --upgrade pip | |
pip3 install -r requirements.txt | |
- name: "Build Sphinx Doc" | |
run: | | |
cd doc/ | |
make html | |
- name: "Deploy Github Pages" | |
uses: JamesIves/[email protected] | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages | |
FOLDER: doc/_build/html/ |