v4.14.0 #92
Workflow file for this run
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: | |
tags: "v[0-9]+.[0-9]+.[0-9]+" | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Pull the repository" | |
uses: actions/checkout@v4 | |
- name: "Set up Python" | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.13" | |
- name: "Install build dependencies" | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y libusb-1.0-0-dev libudev-dev | |
- 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 | |
with: | |
BRANCH: gh-pages | |
FOLDER: build/html |