Fakultas Ilmu Komputer UI
Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ppl-fasilkom-ui
PPL Sosial
bisago
bisago-be
Commits
8b913cf4
Verified
Commit
8b913cf4
authored
Mar 21, 2021
by
Muhammad Ariq Basyar
Browse files
fixing bug gitlab-ci script
- remove single quote from if condition
parent
4b527286
Pipeline
#64747
passed with stages
in 16 minutes and 21 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
8b913cf4
...
...
@@ -64,6 +64,6 @@ Deployment:
script
:
-
result=$(ssh $TARGET "bash deployment/reload.sh $CI_COMMIT_REF_NAME")
-
echo "$result"
-
if [
'
$(echo "$result" | tail -n 1)
'
!= "success" ]; then exit 1; fi
-
if [ $(echo "$result" | tail -n 1) != "success" ]; then exit 1; fi
environment
:
name
:
deployment
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