forked from esp8266/Arduino
-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (36 loc) · 938 Bytes
/
docs.yml
File metadata and controls
43 lines (36 loc) · 938 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
34
35
36
37
38
39
40
41
42
43
name: Documentation
on:
push:
branches:
- master
- ai/fix-issue-1
pull_request:
branches:
- master
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-docs:
name: Build Documentation
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: false
- name: Set environment variables
run: echo "TRAVIS_BUILD_DIR=$GITHUB_WORKSPACE" >> $GITHUB_ENV
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.9'
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y python3-pip
pip3 install --user -r doc/requirements.txt
- name: Build documentation
run: |
chmod +x tests/ci/build_docs.sh
tests/ci/build_docs.sh