Skip to content
Snippets Groups Projects
Commit 7fe3d33f authored by Tomáš's avatar Tomáš
Browse files

add CI

parent 7e9a1709
No related branches found
No related tags found
No related merge requests found
image: python:3-buster
variables:
SITE_NAME: prukazy.pirati.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