Update action.yml

This commit is contained in:
2025-08-11 23:22:40 +02:00
parent 5c3876fca5
commit eb1ebc19f6
+17
View File
@@ -242,6 +242,23 @@ runs:
rm -rf ./temp-test-ci
echo "Exit Code: 0" >> $LOG_FILE
- name: Commit and push reports
shell: bash
run: |
echo "📤 Committing test reports..."
git config user.name "ci-bot"
git config user.email "ci-bot@example.com"
git add markdown/
git commit -m "CI: update test report and coverage files" || echo "⚠️ Nothing to commit"
echo "🚀 Pushing to branch '${{ inputs.ci-branch }}'..."
git push https://ci-token:${{ inputs.ci-token }}@${{ inputs.gitea-domain }}/${{ inputs.repo-path }}.git HEAD:${{ inputs.ci-branch }} > push.log 2>&1 || {
echo "❌ Push failed"
cat push.log
exit 1
}
echo "✅ Reports pushed"
- name: Clone Gitea Wiki
shell: bash
env: