doxytest/.gitea/workflows/doxygen.yaml
thijskamphuis 8136ce77b9
All checks were successful
Doxygen / Doxygen (push) Successful in 17s
Update .gitea/workflows/doxygen.yaml
2025-01-28 22:45:18 +01:00

46 lines
1.2 KiB
YAML

name: Doxygen
on: [push]
jobs:
Doxygen:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install Doxygen
run: |
sudo apt-get update
sudo apt-get install -y doxygen
- name: Generate Doxygen Documentation
run: |
doxygen Doxyfile
- name: Move `/docs/html/` contents to web branch
run: |
git config --global user.name "${{ gitea.actor }}"
git config --global user.email "${{ gitea.actor }}@example.com"
git fetch origin
git checkout --orphan web
# Copy the contents of docs/html/ to the root
cp -r docs/html/* .
git add .
git commit -m "Update web branch with documentation"
git push origin web --force
- name: Execute Pterodactyl Power Action
uses: D3OXY/pterodactyl-power@V1
with:
PANEL_URL: "https://pte.nucs.me"
API_KEY: ${{ secrets.PTE_API}}
SERVER_ID: ${{ secrets.PTE_SERVER }}
POWER_ACTION: "RESTART"