-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a36976a
commit 99aa553
Showing
1 changed file
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
cd /home/forge/STUB_HOST | ||
git pull origin $FORGE_SITE_BRANCH | ||
#cd /home/forge/STUB_HOST | ||
#git pull origin $FORGE_SITE_BRANCH | ||
|
||
php please cache:clear | ||
#php please cache:clear | ||
|
||
npm ci && npm run build | ||
#npm ci && npm run build | ||
|
||
$FORGE_COMPOSER install --no-interaction --prefer-dist --optimize-autoloader | ||
#$FORGE_COMPOSER install --no-interaction --prefer-dist --optimize-autoloader | ||
|
||
( flock -w 10 9 || exit 1 | ||
echo 'Restarting FPM...'; sudo -S service $FORGE_PHP_FPM reload ) 9>/tmp/fpmlock | ||
#( flock -w 10 9 || exit 1 | ||
# echo 'Restarting FPM...'; sudo -S service $FORGE_PHP_FPM reload ) 9>/tmp/fpmlock | ||
|
||
if [ -f artisan ]; then | ||
$FORGE_PHP artisan migrate --force | ||
fi | ||
#if [ -f artisan ]; then | ||
# $FORGE_PHP artisan migrate --force | ||
#fi |