Restore state at 1.3.2 #84
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: Docs | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build_docs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Prerequisites | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
git clone "https://token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" . | |
sudo chmod +x .github/workflows/build_docs.sh | |
sudo apt-get install language-pack-it wireless-tools | |
pip install Pillow requests piexif sphinx sphinx-rtd-theme | |
pip install --no-deps -e . | |
shell: bash | |
- name: Build the docs and update pages | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: ".github/workflows/build_docs.sh" | |
shell: bash |