From 53ca438b0ebe94b20682ca0b82fbb408a8b75d09 Mon Sep 17 00:00:00 2001 From: Hickmeister <35031453+Hickmeister@users.noreply.github.com> Date: Sun, 11 Oct 2026 16:53:29 +0100 Subject: [PATCH] Share Laravel package caches with production deploy --- .gitea/workflows/deploy.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index e40c2c8..803f4d0 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -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