Skip to content
Snippets Groups Projects
Verified Commit 6c5721ab authored by Andrej Ramašeuski's avatar Andrej Ramašeuski
Browse files

Presun volani webhooku do after_script

parent 747fdc0d
Branches
No related tags found
No related merge requests found
...@@ -13,6 +13,7 @@ build: ...@@ -13,6 +13,7 @@ build:
script: script:
- npm install - npm install
- npm run build - npm run build
after_script:
- echo "{\"job_token\":\"$CI_JOB_TOKEN\", \"name\":\"$SITE_NAME\" }" > request.json - echo "{\"job_token\":\"$CI_JOB_TOKEN\", \"name\":\"$SITE_NAME\" }" > request.json
- "curl -H 'Content-Type: application/json' -X POST -d @request.json $WEBHOOK_URL" - "curl -H 'Content-Type: application/json' -X POST -d @request.json $WEBHOOK_URL"
artifacts: artifacts:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment