Skip to content
Snippets Groups Projects
Commit 26c9c399 authored by Jan-Tarek Butt's avatar Jan-Tarek Butt
Browse files

.gitlab-ci.yml: revert stop review changes and add comment.


Signed-off-by: default avatarJan-Tarek Butt <tarek@ring0.de>
parent c4fd1eb5
No related branches found
No related tags found
1 merge request!9.gitlab-ci.yml: print preview url into log and autodelete deployed preview website.
Pipeline #4092 passed
......@@ -61,8 +61,8 @@ stop_review:
- chmod 700 ~/.ssh
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
script:
- ssh ffnw.de@ffnw.de "[[ -d /var/www/ffnw.de/pre/$CI_ENVIRONMENT_SLUG ]] && rm -rf /var/www/ffnw.de/pre/$CI_ENVIRONMENT_SLUG"
- ssh ffnw.de@ffnw.de 'whoami'
# remove script will be triggert on server side.
- ssh ffnw.de@ffnw.de "$CI_ENVIRONMENT_SLUG"
variables:
GIT_STRATEGY: none
when: delayed
......
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