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

Pridana konfigurace CI

parent 8e250cc4
No related branches found
No related tags found
No related merge requests found
Pipeline #711 passed
image: node:buster
variables:
SITE_NAME: styleguide.pir-test.eu
ARTIFACTS_PATH: public
WEBHOOK_URL: https://ha-web.pirati.cz
before_script:
- apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -yq curl
build:
stage: build
script:
- npm install
- npm run build
- 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:
expire_in: 30 min
paths:
- $ARTIFACTS_PATH
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment