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: ...@@ -14,7 +14,7 @@ Build for review:
script: script:
- 'echo "project_id: $CI_PROJECT_ID" > _config_review.yml' - 'echo "project_id: $CI_PROJECT_ID" > _config_review.yml'
- 'echo "project_namespace: $CI_PROJECT_PATH" >> _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' - 'echo "gitlab_host: https://git-r3lab.uni.lu" >> _config_review.yml'
- pwd - pwd
- bundle exec jekyll build -d public --config "_config.yml,_config_review.yml" - bundle exec jekyll build -d public --config "_config.yml,_config_review.yml"
...@@ -33,10 +33,10 @@ Build for review: ...@@ -33,10 +33,10 @@ Build for review:
Publish review: Publish review:
stage: review stage: review
script: 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: environment:
name: review/$CI_BUILD_REF_NAME/$CI_PROJECT_PATH 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" on_stop: "Un-publish review"
auto_stop_in: 1 week auto_stop_in: 1 week
rules: rules:
...@@ -47,7 +47,7 @@ Publish review: ...@@ -47,7 +47,7 @@ Publish review:
Un-publish review: Un-publish review:
stage: review stage: review
script: 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: variables:
GIT_STRATEGY: none GIT_STRATEGY: none
when: manual when: manual
......
# App-review setup with Jekyll # App-review setup with Jekyll
\ 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