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

Without tags

parent b4cd2ce4
No related branches found
No related tags found
No related merge requests found
Pipeline #1738 passed
...@@ -16,8 +16,7 @@ build: ...@@ -16,8 +16,7 @@ build:
- npm install - npm install
- npm run build - npm run build
after_script: after_script:
- TAG=`git describe --tags $(git rev-list --tags --max-count=1)` - echo "{\"job_token\":\"$CI_JOB_TOKEN\", \"name\":\"$SITE_NAME\" }" > request.json
- echo "{\"job_token\":\"$CI_JOB_TOKEN\", \"name\":\"$SITE_NAME\", \"tag\":\"$TAG\" }" > 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:
expire_in: 30 min expire_in: 30 min
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment