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

Oprava tag based deploy

parent 9393da42
Branches
Tags
No related merge requests found
......@@ -14,7 +14,7 @@ build:
- npm install
- npm run build
after_script:
- TAG=`git describe --tags`
- TAG=`git describe --tags $(git rev-list --tags --max-count=1)`
- 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"
artifacts:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment