From 6c5721ab9a5e4f7be7224703606a7e9543782953 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrej=20Rama=C5=A1euski?= <andrej@x2.cz> Date: Mon, 15 Jun 2020 14:21:09 +0200 Subject: [PATCH] Presun volani webhooku do after_script --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c07a661..a09d027 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,6 +13,7 @@ build: script: - npm install - npm run build + after_script: - echo "{\"job_token\":\"$CI_JOB_TOKEN\", \"name\":\"$SITE_NAME\" }" > request.json - "curl -H 'Content-Type: application/json' -X POST -d @request.json $WEBHOOK_URL" artifacts: -- GitLab