Merge pull request #41 from flozz/dependabot/pip/certifi-2024.7.4 #38
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 and deploy Github pages" | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- name: "Set up Python" | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- name: "Install Python dependencies" | |
run: | | |
pip3 install setuptools | |
pip3 install nox | |
- name: "Build Sphinx Doc" | |
run: | | |
nox --session gendoc | |
- name: "Deploy Github Pages" | |
uses: JamesIves/github-pages-deploy-action@v4.6.1 | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages | |
FOLDER: build/html |