From 2e8fef8ee63c58821f2b6b34d0455ce53d1a7b53 Mon Sep 17 00:00:00 2001 From: Paul-Ben Date: Sun, 13 Apr 2025 20:17:43 +0100 Subject: [PATCH] update on deployment --- .cpanel.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .cpanel.yml diff --git a/.cpanel.yml b/.cpanel.yml new file mode 100644 index 0000000..dcfde05 --- /dev/null +++ b/.cpanel.yml @@ -0,0 +1,11 @@ +--- +deployment: + tasks: + - export DEPLOYPATH=/home/tesbacad/public_html/ + - /bin/cp -R * $DEPLOYPATH + - cd $DEPLOYPATH + - composer install --no-dev --optimize-autoloader + - php artisan migrate --force + - php artisan storage:link + - php artisan optimize + - chmod -R 755 storage bootstrap/cache \ No newline at end of file