[Scummvm-git-logs] scummvm-web master -> 1dd84eca7fb3f0d9ddadb29bfa8d768bae1982b7

Mataniko mataniko at gmail.com
Sun Nov 18 18:48:47 CET 2018


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm-web' repo located at https://github.com/scummvm/scummvm-web .

Summary:
1dd84eca7f BUILD: Wait a couple of seconds before running site install


Commit: 1dd84eca7fb3f0d9ddadb29bfa8d768bae1982b7
    https://github.com/scummvm/scummvm-web/commit/1dd84eca7fb3f0d9ddadb29bfa8d768bae1982b7
Author: Matan Bareket (mataniko at gmail.com)
Date: 2018-11-18T12:48:37-05:00

Commit Message:
BUILD: Wait a couple of seconds before running site install

Changed paths:
    site-update/webhook.php


diff --git a/site-update/webhook.php b/site-update/webhook.php
index 0718790..b713aef 100644
--- a/site-update/webhook.php
+++ b/site-update/webhook.php
@@ -56,8 +56,9 @@ switch (strtolower($_SERVER['HTTP_X_GITHUB_EVENT'])) {
       echo 'pong';
       break;
     case 'push':
-      exec('sh install.sh > webhook.log &');
       echo 'Site update is running, details area available in webhook.log';
+      sleep(2);
+      exec('sh install.sh > webhook.log &');
       break;
     default:
       header('HTTP/1.0 404 Not Found');





More information about the Scummvm-git-logs mailing list