forked from ZanzoCam/zanzocam-core
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (28 loc) · 773 Bytes
/
docs.yml
File metadata and controls
33 lines (28 loc) · 773 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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