-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (40 loc) · 1.17 KB
/
docs.yml
File metadata and controls
54 lines (40 loc) · 1.17 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
name: Update Documentation
on:
push:
branches:
- master
- develop
- feature/*
- release/*
permissions:
contents: write
jobs:
publish-wiki:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set Up Environment
run: python3 -m pip install -r docs/requirements.txt
- name: Generate Doxygen
uses: mattnotmitt/doxygen-action@v1.9.5
with:
working-directory: docs
- name: Build Documentation
run: sphinx-build -v -c docs docs/src _build
- uses: actions/checkout@v4
with:
ref: gh-pages
clean: false
- name: Install HTML sources
run: rsync --mkpath -av _build/ ${{ github.ref_name }}
- uses: EndBug/add-and-commit@v9
with:
pull: '--rebase --autostash'
default_author: github_actions
message: |
Update documentation for ${{ github.ref }}.
Author: ${{ github.event.head_commit.author.name }}
Committer: ${{ github.event.head_commit.committer.name }}
${{ github.event.head_commit.message }}