From ce7767c90f57c099d9d791fa16b1a0757f80ef01 Mon Sep 17 00:00:00 2001 From: Romulus21 Date: Mon, 11 Sep 2023 08:42:04 +0200 Subject: [PATCH] make CI --- Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..0fa41dd --- /dev/null +++ b/Makefile @@ -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