diff --git a/.gitea/workflows/doxygen.yaml b/.gitea/workflows/doxygen.yaml index 55c0986..2dde664 100644 --- a/.gitea/workflows/doxygen.yaml +++ b/.gitea/workflows/doxygen.yaml @@ -22,6 +22,20 @@ jobs: run: | doxygen Doxyfile + - name: Move `/docs/html/` contents to web branch + run: | + # Ensure a clean Git state + git config --global user.name "${{ gitea.actor }}" + git config --global user.email "${{ gitea.actor }}@example.com" + git fetch origin + git checkout --orphan web + git reset --hard + git clean -fdx + 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: