From 56d16e27e4a79d86f6125ac9a4267bf8a4a35e9d Mon Sep 17 00:00:00 2001 From: Marco Wende Date: Sat, 20 Jun 2026 19:23:49 +0200 Subject: [PATCH] deploy: clear caches before rebuilding to avoid stale state --- .gitea/workflows/deploy.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 16a93fd..320499c 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -41,6 +41,9 @@ jobs: cd "$DEPLOY_PATH" /opt/plesk/php/8.4/bin/php -d open_basedir="" /usr/local/psa/var/modules/composer/composer.phar install --no-dev --optimize-autoloader + /opt/plesk/php/8.4/bin/php -d open_basedir="" artisan config:clear + /opt/plesk/php/8.4/bin/php -d open_basedir="" artisan route:clear + /opt/plesk/php/8.4/bin/php -d open_basedir="" artisan view:clear /opt/plesk/php/8.4/bin/php -d open_basedir="" artisan migrate --force /opt/plesk/php/8.4/bin/php -d open_basedir="" artisan config:cache /opt/plesk/php/8.4/bin/php -d open_basedir="" artisan route:cache