Skip to content
This repository has been archived by the owner on Aug 19, 2023. It is now read-only.

Commit

Permalink
updated paths
Browse files Browse the repository at this point in the history
  • Loading branch information
erikaheidi committed Jul 12, 2017
1 parent 697425d commit f777496
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webtools/github/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
* 2 - run the sculpin command and generate the prod output
*/

$local_path = "/www/dev-human/dev-human";
$local_path = "/var/www/devhuman";
$update_log = __DIR__ . '/../../logs/update.log';

shell_exec("cd $local_path && git pull 2>&1");
shell_exec("cd $local_path && sculpin generate --env=prod 2>&1");
shell_exec("cd $local_path && vendor/bin/sculpin generate --env=prod 2>&1");

$fp = fopen($update_log, "a+");
if ($fp !== false) {
Expand Down

0 comments on commit f777496

Please sign in to comment.