Skip to content

Commit

Permalink
chore: wip
Browse files Browse the repository at this point in the history
  • Loading branch information
robocopklaus committed Aug 14, 2024
1 parent a36976a commit 99aa553
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/deploy-script.stub
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

0 comments on commit 99aa553

Please sign in to comment.