Verified Commit 43fe3f9a authored by Yohan Jarosz's avatar Yohan Jarosz 🐶
Browse files

rm only keyword

parent d39fb81b
Pipeline #22481 failed
image: git-r3lab.uni.lu:4567/r3/docker/jekyll-lcsb:1.0
stages:
- build
- review
......@@ -30,7 +32,26 @@ Publish review:
environment:
name: review $CI_BUILD_REF_NAME for $CI_PROJECT_PATH
url: http://CI_BUILD_REF_SLUG-$CI_PROJECT_NAME-$CI_PROJECT_NAMESPACE.review.lcsb.uni.lu
on_stop: "Un-publish review"
except:
- master
tags:
- review-app
\ No newline at end of file
- review-app
Un-publish review:
stage: review
script:
- rm -rf /srv/nginx/pages/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME/$CI_BUILD_REF_SLUG
variables:
GIT_STRATEGY: none
when: manual
environment:
name: review $CI_BUILD_REF_NAME
action: stop
only:
- branches@fp/fp.pages.uni.lu
except:
- frozen
tags:
- fp-review
\ No newline at end of file
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