mirror of
https://github.com/vitodeploy/vito.git
synced 2025-04-20 02:11:36 +00:00
24 lines
346 B
Bash
Executable File
24 lines
346 B
Bash
Executable File
#!/bin/bash
|
|
|
|
cd /home/vito/vito
|
|
|
|
php artisan down
|
|
|
|
git fetch --all
|
|
|
|
git checkout $(git tag -l --merged 1.x --sort=-v:refname | head -n 1)
|
|
|
|
composer install --no-dev
|
|
|
|
php artisan migrate --force
|
|
|
|
php artisan config:clear
|
|
php artisan cache:clear
|
|
php artisan view:clear
|
|
|
|
php artisan config:cache
|
|
|
|
sudo supervisorctl restart worker:*
|
|
|
|
php artisan up
|