Update .woodpecker.yml

This commit is contained in:
2025-11-26 20:49:41 +00:00
parent fbb91e9f5a
commit 50ae8abb76

View File

@@ -16,13 +16,15 @@ steps:
commands:
- sonar-scanner \
-Dsonar.login=$SONAR_TOKEN \
-Dsonar.host.url=$SONAR_URL
-Dsonar.host.url=$SONAR_URL \
-Dsonar.projectKey=dummy-app \
-Dsonar.sources=.
- name: notify
image: curlimages/curl
secrets: [ WEBHOOK_URL ]
commands:
- echo "Build completed for $CI_COMMIT_SHA" \
- echo "Build completed: $CI_COMMIT_SHA" \
| curl -X POST -H "Content-Type: text/plain" $WEBHOOK_URL
- name: push-to-github
@@ -31,5 +33,5 @@ steps:
when:
status: [ success ]
commands:
- git remote add github https://$GITHUB_TOKEN@github.com/<yourname>/dummy-app.git
- git remote add github https://$GITHUB_TOKEN@github.com/Magiciian/dummy-app.git
- git push github HEAD:main