-
Notifications
You must be signed in to change notification settings - Fork 32
36 lines (32 loc) · 1.04 KB
/
doxygen.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
name: generate-doxygen-doc
on:
workflow_dispatch:
schedule:
- cron: '30 20 * * 1'
jobs:
build-doxygen-doc:
permissions: write-all
runs-on: ubuntu-24.04
steps:
- name: checkout
uses: actions/checkout@v4
- name: "clone azerothcore-wotlk source"
run: |
git clone --single-branch https://github.com/azerothcore/azerothcore-wotlk
mv azerothcore-wotlk pages/doxygen/azerothcore-wotlk
- name: "run doxygen"
uses: mattnotmitt/[email protected]
with:
working-directory: 'pages/doxygen/'
doxyfile-path: 'Doxyfile'
- name: "check doxygen output"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cd pages/doxygen/
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
rm -rf azerothcore-wotlk
git add .
git commit -m "chore: update doxygen documentation"
git push