Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
subugoe
emo
TIDO
Commits
82e37fdc
Commit
82e37fdc
authored
Jun 04, 2021
by
mrodzis
💪
Browse files
ci: check if we are on feature branch
parent
846d6bb2
Pipeline
#201230
passed with stages
in 3 minutes and 51 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.ci-scripts/update-artifacts.sh
View file @
82e37fdc
...
...
@@ -14,7 +14,7 @@ unzip -u old-artifact.zip
echo
"test"
if
[[
$CONTINUE_BUILD
==
"true"
]]
;
then
if
[[
$CONTINUE_BUILD
==
"true"
||
(
$CI_COMMIT_BRANCH
!=
"main"
&&
$CI_COMMIT_BRANCH
!=
"develop"
)
]]
;
then
echo
"CONTINUE_BUILD is set to 'true'."
mkdir
-p
public/
{
${
CI_COMMIT_SHORT_SHA
}
,
${
CI_COMMIT_REF_SLUG
}
}
echo
public/
${
CI_COMMIT_SHORT_SHA
}
public/
${
CI_COMMIT_REF_SLUG
}
| xargs
-n
1
cp
--remove-destination
--recursive
${
dist_dir
}
/
*
...
...
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