diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d49ee1a..656c69f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,11 +19,13 @@ stages: # List of stages for jobs, and their order of execution - build + build-job: # This job runs in the build stage, which runs first. stage: build script: - echo "Compiling the code..." - echo "Compile complete." - - lala=":" - - curl -X POST https://kestra.sectorq.eu/api/v1/executions/webhook/jaydee/ansible-all/f851511c32ca9450 -d '{"tag":["setup","common"],"target":["m-server.home.lan"]}' -H "Content-Type${lala} application/json" - + - column=":" + - curl -X POST https://kestra.sectorq.eu/api/v1/executions/webhook/jaydee/ansible-all/f851511c32ca9450 -d '{"tag":["setup","common"],"target":["m-server.home.lan"]}' -H "Content-Type${column} application/json" + rules: + - if: $CI_COMMIT_MESSAGE =~ /build$/