mirror of
https://github.com/idanoo/pixelfed-upgrade-script
synced 2025-07-17 05:31:55 +00:00
Fix paths
This commit is contained in:
parent
cab26fcb8d
commit
46a421b298
1 changed files with 7 additions and 8 deletions
15
update.sh
15
update.sh
|
@ -8,12 +8,11 @@ WEB_USER=www-data
|
|||
# DO NOT EDIT BELOW THIS LINE #
|
||||
set +x
|
||||
|
||||
cd $WEB_ROOT
|
||||
su - $WEB_USER -s /bin/bash -c 'git pull'
|
||||
su - $WEB_USER -s /bin/bash -c 'composer install --no-ansi --no-interaction --no-progress --no-scripts --optimize-autoloader'
|
||||
su - $WEB_USER -s /bin/bash -c 'php artisan config:cache'
|
||||
su - $WEB_USER -s /bin/bash -c 'php artisan route:cache'
|
||||
su - $WEB_USER -s /bin/bash -c 'php artisan migrate --force'
|
||||
su - $WEB_USER -s /bin/bash -c 'php artisan horizon:purge'
|
||||
su - $WEB_USER -s /bin/bash -c 'php artisan storage:link'
|
||||
su - $WEB_USER -s /bin/bash -c "cd $WEB_ROOT && git pull"
|
||||
su - $WEB_USER -s /bin/bash -c "cd $WEB_ROOT && composer install --no-ansi --no-interaction --no-progress --no-scripts --optimize-autoloader"
|
||||
su - $WEB_USER -s /bin/bash -c "cd $WEB_ROOT && php artisan config:cache"
|
||||
su - $WEB_USER -s /bin/bash -c "cd $WEB_ROOT && php artisan route:cache"
|
||||
su - $WEB_USER -s /bin/bash -c "cd $WEB_ROOT && php artisan migrate --force"
|
||||
su - $WEB_USER -s /bin/bash -c "cd $WEB_ROOT && php artisan horizon:purge"
|
||||
su - $WEB_USER -s /bin/bash -c "cd $WEB_ROOT && php artisan storage:link"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue