forked from github/codeql-coding-standards
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (35 loc) · 950 Bytes
/
generate-html-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
34
35
36
37
38
39
40
41
name: Generate HTML documentation
on:
merge_group:
types: [checks_requested]
push:
branches:
- main
- 'rc/**'
- next
pull_request:
branches:
- main
- 'rc/**'
- next
jobs:
generate-html-doc:
name: Generate HTML documentation
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Install generate_iso26262_docs.py dependencies
run: pip install -r scripts/requirements.txt
- name: Generate documentation
run: |
python scripts/documentation/generate_iso26262_docs.py coding-standards-html-docs
- name: Upload HTML documentation
uses: actions/upload-artifact@v2
with:
name: coding-standards-docs-${{ github.sha }}
path: coding-standards-html-docs/