-
-
Notifications
You must be signed in to change notification settings - Fork 180
34 lines (26 loc) · 688 Bytes
/
docs.yml
File metadata and controls
34 lines (26 loc) · 688 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
name: Build current version docs
on:
pull_request:
branches: [ "master" ]
# paths:
# - 'docs/**'
env:
GITHUB_REPOSITORY: ${{ github.repository }}
GITHUB_REF: ${{ github.ref }}
jobs:
build-current-version:
if: github.repository == 'DragonOS-Community/DragonOS'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: install requirements
working-directory: ./docs
run: |
sudo apt-get update
sudo apt-get install -y python3-pip
pip3 install -r requirements.txt
- name: build docs
working-directory: ./docs
shell: bash -ileo pipefail {0}
run: |
make html