Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Yohan Jarosz
Testappreview
Commits
1c463b8e
Verified
Commit
1c463b8e
authored
Apr 07, 2020
by
Yohan Jarosz
🐶
Browse files
use rules
parent
f942ca67
Pipeline
#24585
failed
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
1c463b8e
...
...
@@ -2,6 +2,8 @@ stages:
-
build
-
review
variables
:
PRODUCTION_BRANCH
:
'
master'
Build for review
:
stage
:
build
...
...
@@ -21,8 +23,8 @@ Build for review:
-
public
variables
:
JEKYLL_ENV
:
review
except
:
-
master
-
if
:
'
$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME'
when
:
always
tags
:
-
review-app
...
...
@@ -35,11 +37,10 @@ Publish review:
stage
:
review
script
:
-
rsync -av --delete public /srv/nginx/pages/$CI_PROJECT_ID/$CI_MERGE_REQUEST_ID
environment
:
name
:
review $CI_BUILD_REF_NAME for $CI_PROJECT_PATH
url
:
http://$CI_MERGE_REQUEST_ID-$CI_PROJECT_ID.review.lcsb.uni.lu
on_stop
:
"
Un-publish
review"
except
:
-
master
tags
:
-
review-app
...
...
@@ -53,8 +54,6 @@ Un-publish review:
environment
:
name
:
review $CI_BUILD_REF_NAME for $CI_PROJECT_PATH
action
:
stop
except
:
-
master
tags
:
-
review-app
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment