Skip to content
Snippets Groups Projects
Commit 6cf55875 authored by Imran Hussain's avatar Imran Hussain
Browse files

Merge branch 'master' into 'beta'

Merge changes into beta

See merge request !110
parents 2852e83b 56268f16
No related branches found
No related tags found
Loading
Checking pipeline status
......@@ -38,7 +38,7 @@ deploy-beta:
script:
- apt update
- apt install -y curl
- curl --insecure https://beta.sucs.org/pull.php
- curl https://beta.sucs.org/pull.php
only:
- beta
environment: beta
......@@ -48,7 +48,7 @@ deploy-live:
script:
- apt update
- apt install -y curl
- curl --insecure https://sucs.org/pull.php
- curl https://sucs.org/pull.php
only:
- sucs-site
environment: live
\ No newline at end of file
<?php
exec("cd ..; git reset --hard HEAD; git pull");
exec("cd ..; git reset --hard HEAD; git pull", $retArr, $retVal);
if ($retVal == 0) {
print(ok);
exit(0)
}
print("not ok\n");
var_dump($retArr);
var_dump($retVal);
?>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment