Fakultas Ilmu Komputer UI

Verified Commit aac729dd authored by Muhammad Ariq Basyar's avatar Muhammad Ariq Basyar
Browse files

gitlab ci cant detect character '[' or '&'

parent 038c9eec
Pipeline #64590 failed with stages
in 34 minutes and 4 seconds
......@@ -63,6 +63,6 @@ Deployment:
script:
- result=$(ssh $TARGET "bash deployment/reload.sh $CI_COMMIT_REF_NAME")
- echo "$result"
- [ '$(echo "$result" | tail -n 1)' != "success" ] && exit 1
- if [ '$(echo "$result" | tail -n 1)' != "success" ]; then exit 1; fi
environment:
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