Share Laravel package caches with production deploy
Deploy HickLab3D Dashboard / Deploy to production (push) Successful in 27s

This commit is contained in:
Hickmeister
2026-10-11 16:53:29 +01:00
parent 61dd05384f
commit 53ca438b0e
+6 -6
View File
@@ -187,8 +187,8 @@ jobs:
fi
for key_path in \
"APP_SERVICES_CACHE=/tmp/TechOdyssey_Designs_Dashboard.services.php" \
"APP_PACKAGES_CACHE=/tmp/TechOdyssey_Designs_Dashboard.packages.php" \
"APP_SERVICES_CACHE=storage/framework/cache/data/services.php" \
"APP_PACKAGES_CACHE=storage/framework/cache/data/packages.php" \
"APP_CONFIG_CACHE=/tmp/TechOdyssey_Designs_Dashboard.config.php" \
"APP_ROUTES_CACHE=/tmp/TechOdyssey_Designs_Dashboard.routes.php" \
"APP_EVENTS_CACHE=/tmp/TechOdyssey_Designs_Dashboard.events.php"
@@ -206,12 +206,12 @@ jobs:
working-directory: ${{ env.DEPLOY_ROOT }}/${{ env.PROJECT_NAME }}
run: |
rm -f \
/tmp/TechOdyssey_Designs_Dashboard.packages.php \
/tmp/TechOdyssey_Designs_Dashboard.services.php
storage/framework/cache/data/packages.php \
storage/framework/cache/data/services.php
"$COMPOSER_CMD" install --no-dev --no-interaction --prefer-dist --optimize-autoloader
rm -f \
/tmp/TechOdyssey_Designs_Dashboard.packages.php \
/tmp/TechOdyssey_Designs_Dashboard.services.php
storage/framework/cache/data/packages.php \
storage/framework/cache/data/services.php
"$PHP_CMD" artisan package:discover --ansi --no-interaction
- name: Clear compiled Laravel files