Merge pull request #640 from github/A2-7-3-doxygen #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |