fix permission issues on post commit, add charset to css

This commit is contained in:
Jeremy Kauffman 2015-10-25 13:15:48 -04:00
parent 8314874007
commit 202dddaf20
2 changed files with 5 additions and 2 deletions

View file

@ -47,8 +47,9 @@ class Actions
if ($payload['ref'] === 'refs/heads/master')
{
shell_exec($_SERVER['ROOT_DIR'] . '/deploy.sh > /dev/null 2>/dev/null &');
echo "Successful post commit.";
$ret = shell_exec('sudo -u lbry ' . $_SERVER['ROOT_DIR'] . '/update.sh 2>&1');
echo "Successful post commit (aka the script executed, so maybe it is successful):\n";
echo $ret;
}
return [null, []];

View file

@ -1,3 +1,5 @@
@charset "UTF-8";
$spacing-vertical: 24px;
$color-primary: #155B4A;