Commit 8196132d authored by Isabella Skořepová's avatar Isabella Skořepová

review -> preview

parent 690fae31
Pipeline #490 failed
......@@ -8,7 +8,7 @@ preview:
environment:
name: preview/$CI_BUILD_REF_NAME
url: https://preview.ok1kvk.cz/$CI_BUILD_REF_NAME
on_stop: stop_review
on_stop: stop_preview
except:
- master
script:
......@@ -24,7 +24,7 @@ preview:
- ssh -i sshkey $SSH_HOST ln -fs $HTML_DIR/static/static $HTML_DIR/static/$CI_BUILD_REF_NAME
- rm sshkey
stop_review:
stop_preview:
stage: preview
variables:
HTML_DIR: "/var/www/html/preview.ok1kvk.cz"
......@@ -36,7 +36,7 @@ stop_review:
- rm sshkey
when: manual
environment:
name: review/$CI_BUILD_REF_NAME
name: preview/$CI_BUILD_REF_NAME
action: stop
# Needs following env vars:
......
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