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

rename ci file

parent d033419d
stages:
- build
- review
Build for review: Build for review:
stage: build stage: build
before_script: before_script:
...@@ -21,14 +25,13 @@ Build for review: ...@@ -21,14 +25,13 @@ Build for review:
tags: tags:
- review-app - review-app
Publish review: Publish review:
stage: review stage: review
script: script:
- rsync -av --delete public /srv/nginx/pages/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME/$CI_BUILD_REF_SLUG - rsync -av --delete public /srv/nginx/pages/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME/$CI_BUILD_REF_SLUG
environment: environment:
name: review $CI_BUILD_REF_NAME for $CI_PROJECT_PATH 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_BUILD_REF_SLUG-$CI_PROJECT_NAME-$CI_PROJECT_NAMESPACE.review.lcsb.uni.lu
on_stop: "Un-publish review"
only: only:
- branches@$CI_PROJECT_PATH.pages.uni.lu - branches@$CI_PROJECT_PATH.pages.uni.lu
except: except:
......
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