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
f942ca67
Verified
Commit
f942ca67
authored
Apr 07, 2020
by
Yohan Jarosz
🐶
Browse files
modify used variables in URL
parent
dab99d1a
Pipeline
#24578
failed
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
f942ca67
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
README.md
0 → 100644
View file @
f942ca67
# App-review setup with Jekyll
\ No newline at end of file
index.md
View file @
f942ca67
...
...
@@ -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?
...
...
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