Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
R3
school
courses
Commits
1dc66cae
Verified
Commit
1dc66cae
authored
May 04, 2022
by
Laurent Heirendt
✈
Browse files
change var for branch name
parent
5b7a8264
Pipeline
#56019
failed with stages
in 2 minutes and 53 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.ci/deploy.sh
View file @
1dc66cae
...
@@ -10,9 +10,9 @@ rm -rf $rootDir/public
...
@@ -10,9 +10,9 @@ rm -rf $rootDir/public
rm
-rf
$rootDir
/theme
rm
-rf
$rootDir
/theme
mkdir
$rootDir
/public
mkdir
$rootDir
/public
if
[[
$CI_COMMIT_
BRANCH
==
"develop"
]]
;
then
if
[[
$CI_COMMIT_
REF_NAME
==
"develop"
]]
;
then
version
=
"latest"
;
version
=
"latest"
;
elif
[[
$CI_COMMIT_
BRANCH
==
"master"
]]
;
then
elif
[[
$CI_COMMIT_
REF_NAME
==
"master"
]]
;
then
version
=
"stable"
;
version
=
"stable"
;
else
else
version
=
"unstable"
;
version
=
"unstable"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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