-
Notifications
You must be signed in to change notification settings - Fork 28
39 lines (35 loc) · 888 Bytes
/
api.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
name: API Documentation
on:
push:
branches: [ develop ]
paths-ignore:
- ".gitignore"
- "README.md"
# ignore CI for other platforms
- ".github/workflows/android.yml"
- ".github/workflows/ios.yml"
- ".github/workflows/linux.yml"
- ".github/workflows/macos.yml"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Enroute
uses: actions/checkout@v4
with:
submodules: false
fetch-depth: 0
- name: Install Doxygen
uses: ssciwr/doxygen-install@v1
- name: Generate documentation
working-directory: doc
run: |
doxygen
mv APIdoc ..
- name: Publish Documentation
if: github.event_name == 'push'
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: APIdoc
target-folder: APIdoc