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

modify used variables in URL

parent dab99d1a
Pipeline #24578 failed
stages:
- build
- review
Build for review:
stage: build
before_script:
......@@ -24,14 +25,18 @@ Build for review:
- master
tags:
- review-app
Publish review:
stage: review
script:
- rsync -av --delete public /srv/nginx/pages/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME/$CI_BUILD_REF_SLUG
environment:
- rsync -av --delete public /srv/nginx/pages/$CI_PROJECT_ID/$CI_MERGE_REQUEST_ID
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
url: http://$CI_MERGE_REQUEST_ID-$CI_PROJECT_ID.review.lcsb.uni.lu
on_stop: "Un-publish review"
except:
- master
......@@ -41,7 +46,7 @@ Publish review:
Un-publish review:
stage: review
script:
- rm -rf /srv/nginx/pages/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME/$CI_BUILD_REF_SLUG
- rm -rf /srv/nginx/pages/$CI_PROJECT_ID/$CI_MERGE_REQUEST_ID
variables:
GIT_STRATEGY: none
when: manual
......@@ -51,5 +56,5 @@ Un-publish review:
except:
- master
tags:
- fp-review
- review-app
\ No newline at end of file
# App-review setup with Jekyll
\ No newline at end of file
......@@ -5,8 +5,7 @@ order: 1
---
# App review test index
This is a App review index in development.
This is a App review index. For more information on how to setup app review for your project, please look at the README.md
### Other problems?
......
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