Skip to content

ci: add github action to update automatically doxygen doc weekly (#156) #1

ci: add github action to update automatically doxygen doc weekly (#156)

ci: add github action to update automatically doxygen doc weekly (#156) #1

Workflow file for this run

name: generate-doxygen-doc

Check failure on line 1 in .github/workflows/doxygen.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/doxygen.yml

Invalid workflow file

invalid `cron` attribute "@Weekly"
on:
workflow_dispatch:
schedule:
- cron: '@weekly'
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 --global user.name "Helias"
git config --global user.email "[email protected]"
rm -rf azerothcore-wotlk
git add .
git commit -m "chore: update doxygen documentation"
git push