-
Notifications
You must be signed in to change notification settings - Fork 0
53 lines (46 loc) · 1.34 KB
/
Copy pathdocs.yml
File metadata and controls
53 lines (46 loc) · 1.34 KB
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
44
45
46
47
48
49
50
51
52
53
name: Docs
# Documentation reset lane: this workflow runs the transitional docs lint only. It is path-filtered
# on pushes to avoid noisy skipped runs, and it never builds `_pops`, Sphinx, Doxygen or Kokkos.
# If the full site returns, keep the heavy publish path explicit (for example `[docs]` on master and
# `docs-full` on PRs) instead of charging every docs-only push.
on:
push:
branches: [master]
paths:
- 'docs/**'
- 'scripts/build_docs.sh'
- 'README.md'
- 'CONTRIBUTING.md'
- '.github/workflows/docs*.yml'
schedule:
- cron: '0 5 * * 0'
workflow_dispatch:
concurrency:
group: docs
cancel-in-progress: false
permissions:
contents: read
jobs:
build:
name: documentation reset check
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 0
- uses: actions/setup-python@v6
with:
python-version: '3.12'
- name: Docs mode
run: |
{
echo "### Docs mode"
echo ""
echo "- event : ${{ github.event_name }}"
echo "- reset lint : yes"
echo "- `_pops` / Sphinx / Doxygen build : no"
echo "- Kokkos build : no"
} >> "$GITHUB_STEP_SUMMARY"
- name: Build docs
run: bash scripts/build_docs.sh