make CI
This commit is contained in:
17
Makefile
Normal file
17
Makefile
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
deploy:
|
||||||
|
ssh raspigate 'cd /var/www/lara-bermite && git pull origin master && make install'
|
||||||
|
|
||||||
|
install: vendor/autoload.php public/build/manifest.json
|
||||||
|
php artisan down
|
||||||
|
php artisan optimize:clear
|
||||||
|
php artisan migrate --force
|
||||||
|
php artisan optimize
|
||||||
|
php artisan up
|
||||||
|
|
||||||
|
vendor/autoload.php: composer.lock
|
||||||
|
composer install
|
||||||
|
touch vendor/autoload.php
|
||||||
|
|
||||||
|
public/build/manifest.json: package.json
|
||||||
|
pnpm install
|
||||||
|
pnpm run build
|
||||||
Reference in New Issue
Block a user