diff --git a/.woodpecker.yml b/.woodpecker.yml index 329fe18..6a49fdf 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -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//dummy-app.git + - git remote add github https://$GITHUB_TOKEN@github.com/Magiciian/dummy-app.git - git push github HEAD:main