Fakultas Ilmu Komputer UI

Verified Commit 8b913cf4 authored by Muhammad Ariq Basyar's avatar 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
...@@ -64,6 +64,6 @@ Deployment: ...@@ -64,6 +64,6 @@ Deployment:
script: script:
- result=$(ssh $TARGET "bash deployment/reload.sh $CI_COMMIT_REF_NAME") - result=$(ssh $TARGET "bash deployment/reload.sh $CI_COMMIT_REF_NAME")
- echo "$result" - 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: environment:
name: deployment name: deployment
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment