Skip to content
Snippets Groups Projects
Commit 3db2c8f2 authored by jan.bednarik's avatar jan.bednarik
Browse files

CI build

parent 71d5ea42
No related branches found
No related tags found
No related merge requests found
Pipeline #9100 passed
image: python:3-buster
variables:
SITE_NAME: regulacekonopi.cz
ARTIFACTS_PATH: public
WEBHOOK_URL: https://ha-web.pirati.cz
build:
stage: build
script:
- mkdir public
- cp -r content/* public/
after_script:
- echo "{\"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