Skip to content

Commit

Permalink
Merge pull request #37
Browse files Browse the repository at this point in the history
Autodeploy continues to improve
  • Loading branch information
leonardosahon authored Jan 10, 2024
2 parents eddc708 + acdb1fc commit 59aa61d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/BobDBuilder/Cmd/Traits/Make/AutoDeploy.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,9 @@ public function ad_default_files(string $pattern, string $domain_dir): void
die;
}
echo shell_exec("git checkout \$main_branch 2>&1");
echo shell_exec('git pull 2>&1');
echo shell_exec("git reset --hard origin/\$main_branch 2>&1");
echo shell_exec("git checkout \$main_branch 2>&1 &");
echo shell_exec('git fetch --all 2>&1 &');
echo shell_exec("git reset --hard origin/\$main_branch 2>&1 &");
shell_exec("php bob link:refresh &");
print "Symlinks are being refreshed\\n";
Expand Down

0 comments on commit 59aa61d

Please sign in to comment.