-
Notifications
You must be signed in to change notification settings - Fork 8
33 lines (33 loc) · 1.03 KB
/
docs.yml
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
---
# yamllint disable rule:line-length
name: Build docs
# yamllint disable-line rule:truthy
on:
push:
paths:
- .github/workflows/docs.yml
- github_action_scripts/build_docs.sh
- github_action_scripts/change_apt_mirror.sh
- docs/**
- crate_anon/**
- setup.py
jobs:
build-docs:
strategy:
matrix:
include:
- name: ubuntu-22.04
os: ubuntu-22.04
python-version: "3.10"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Change apt mirror
run: |
set -eux -o pipefail
${GITHUB_WORKSPACE}/github_action_scripts/change_apt_mirror.sh
- name: Build docs
run: ${GITHUB_WORKSPACE}/github_action_scripts/build_docs.sh