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

Zmena deploy

parent 2860f8e0
No related branches found
No related tags found
No related merge requests found
...@@ -11,8 +11,8 @@ before_script: ...@@ -11,8 +11,8 @@ before_script:
build: build:
stage: build stage: build
script: script:
- npm install - mkdir public
- npm run build - for f in dist/*.tgz; do tar -C ./public -xzf "$f"; done
after_script: 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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment