From 345b503ef69caa8ced154792eb213154024e4597 Mon Sep 17 00:00:00 2001 From: tligui_y Date: Fri, 11 Jul 2025 13:33:52 +0200 Subject: [PATCH] Update .gitea/workflows/test.yml --- .gitea/workflows/test.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index 7f4e1db7..ef6d4ac6 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -12,7 +12,18 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 - + + - name: Clear wiki branch + run: | + git clone https://ci-token:${{ secrets.CI_TOKEN }}@gitea.psi.ch/tligui_y/slic.wiki.git wiki-clear + cd wiki-clear + rm -f run-*.md + git config user.name "ci-bot" + git config user.email "ci-bot@example.com" + git add -A + git commit -m "🧹 Clear wiki content" || echo "Nothing to commit" + git push origin HEAD:main --force + - name: Show all environment variables run: env