From 8136ce77b9879724708d0c74253054331231d7c5 Mon Sep 17 00:00:00 2001 From: thijskamphuis Date: Tue, 28 Jan 2025 22:45:18 +0100 Subject: [PATCH] Update .gitea/workflows/doxygen.yaml --- .gitea/workflows/doxygen.yaml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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