Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sucssite
sso
Commits
557a6803
Commit
557a6803
authored
Dec 22, 2021
by
Imran Hussain
Browse files
Try and make CD fails more clear
parent
fd22d2af
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
557a6803
...
...
@@ -26,7 +26,7 @@ deploy-live:
script
:
-
apt update
-
apt install -y curl
-
curl https://sso.sucs.org/pull.php
-
curl
--fail-with-body
https://sso.sucs.org/pull.php
only
:
-
master
environment
:
live
public/pull.php
View file @
557a6803
...
...
@@ -7,8 +7,9 @@ if ($retVal == 0) {
exit
(
0
);
}
http_response_code
(
500
);
print
(
"not ok
\n
"
);
var_dump
(
$retArr
);
var_dump
(
$retVal
);
?>
\ No newline at end of file
?>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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