diff --git a/.gitea/workflows/doxygen.yaml b/.gitea/workflows/doxygen.yaml index eff072d..9cad8e2 100644 --- a/.gitea/workflows/doxygen.yaml +++ b/.gitea/workflows/doxygen.yaml @@ -24,20 +24,15 @@ jobs: - 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 - # Create the web branch git checkout --orphan web - git reset --hard - git clean -fdx # Copy the contents of docs/html/ to the root - cp -r docs/html/* . || exit 1 + cp -r docs/html/* . - # Commit and push to the web branch git add . git commit -m "Update web branch with documentation" git push origin web --force