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

change name

parent 65b9e63d
Pipeline #24607 passed with stages
in 13 seconds
......@@ -14,7 +14,7 @@ Build for review:
script:
- 'echo "project_id: $CI_PROJECT_ID" > _config_review.yml'
- 'echo "project_namespace: $CI_PROJECT_PATH" >> _config_review.yml'
- 'echo "mr_id: $CI_MERGE_REQUEST_ID" >> _config_review.yml'
- 'echo "mr_id: $CI_MERGE_REQUEST_IID" >> _config_review.yml'
- 'echo "gitlab_host: https://git-r3lab.uni.lu" >> _config_review.yml'
- pwd
- bundle exec jekyll build -d public --config "_config.yml,_config_review.yml"
......@@ -33,10 +33,10 @@ Build for review:
Publish review:
stage: review
script:
- rsync -av --delete public /srv/nginx/pages/$CI_PROJECT_ID/$CI_MERGE_REQUEST_ID
- rsync -av --delete public /srv/nginx/pages/$CI_PROJECT_ID/$CI_MERGE_REQUEST_IID
environment:
name: review/$CI_BUILD_REF_NAME/$CI_PROJECT_PATH
url: http://$CI_MERGE_REQUEST_ID-$CI_PROJECT_ID.review.lcsb.uni.lu
url: http://$CI_MERGE_REQUEST_IID-$CI_PROJECT_ID.review.lcsb.uni.lu
on_stop: "Un-publish review"
auto_stop_in: 1 week
rules:
......@@ -47,7 +47,7 @@ Publish review:
Un-publish review:
stage: review
script:
- rm -rf /srv/nginx/pages/$CI_PROJECT_ID/$CI_MERGE_REQUEST_ID
- rm -rf /srv/nginx/pages/$CI_PROJECT_ID/$CI_MERGE_REQUEST_IID
variables:
GIT_STRATEGY: none
when: manual
......
# App-review setup with Jekyll
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