generate-doxygen-doc #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-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/doxygen-action@v1.9.5 | |
with: | |
working-directory: 'pages/doxygen/' | |
doxyfile-path: 'Doxyfile' | |
- name: "check doxygen output" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
cd pages/doxygen/ | |
git config --global user.name "Helias" | |
git config --global user.email "stefanoborzi32@gmail.com" | |
rm -rf azerothcore-wotlk | |
git add . | |
git commit -m "chore: update doxygen documentation" | |
git push |