Commit c342269b authored by Isabella Skořepová's avatar Isabella Skořepová

Change CI to only trigger build in content repo

parent adf46878
Pipeline #131 passed with stage
before_script:
- node --version
- ./configure.sh
upload:
trigger:
only:
- master
script:
- ./upload
cache:
untracked: true
paths:
- static/
- content/
# Needs following env var: LFTP_PASSWORD
- "curl -X POST -F token=$GITLAB_TOKEN -F ref=master https://git.ok1kvk.cz/api/v3/projects/72/trigger/builds"
# needs following env variable: $GITLAB_TOKEN
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment