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
eab57b6e
Commit
eab57b6e
authored
Jun 04, 2021
by
mrodzis
💪
Browse files
ci: remove tracing
parent
82e37fdc
Pipeline
#201232
passed with stages
in 2 minutes and 55 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.ci-scripts/update-artifacts.sh
View file @
eab57b6e
...
...
@@ -12,16 +12,9 @@ curl --output old-artifact.zip --header "PRIVATE-TOKEN: $API_TOKEN" "https://git
# add current data to artifact
unzip
-u
old-artifact.zip
echo
"test"
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
}
/
*
[
$?
-eq
0
]
&&
exit
0
elif
[[
$CONTINUE_BUILD
==
"false"
]]
;
then
echo
"CONTINUE_BUILD is set to 'false'."
else
echo
"CONTINUE_BUILD is unset"
fi
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