Update .gitea/workflows/test.yml
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user