Commit 6d3cb18c authored by Imran Hussain's avatar Imran Hussain
Browse files

Merge branch 'cd-improvements' into 'master'

Try and make CD fails more clear

See merge request !3
parents fd22d2af 557a6803
Pipeline #817 failed with stages
in 1 minute and 37 seconds
...@@ -26,7 +26,7 @@ deploy-live: ...@@ -26,7 +26,7 @@ deploy-live:
script: script:
- apt update - apt update
- apt install -y curl - apt install -y curl
- curl https://sso.sucs.org/pull.php - curl --fail-with-body https://sso.sucs.org/pull.php
only: only:
- master - master
environment: live environment: live
...@@ -7,8 +7,9 @@ if ($retVal == 0) { ...@@ -7,8 +7,9 @@ if ($retVal == 0) {
exit(0); exit(0);
} }
http_response_code(500);
print("not ok\n"); print("not ok\n");
var_dump($retArr); var_dump($retArr);
var_dump($retVal); var_dump($retVal);
?> ?>
\ No newline at end of file
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