Skip to content

Commit 5bd8c05

Browse files
committed
fix: manual cache clear before artisan boot
1 parent dd848bd commit 5bd8c05

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,15 @@ jobs:
5555
5656
# Limpar cache ANTES de qualquer comando artisan
5757
echo "== Limpando cache antigo"
58+
rm -f $BASE/shared/bootstrap/cache/config.php
59+
rm -f $BASE/shared/bootstrap/cache/services.php
60+
rm -f $BASE/shared/bootstrap/cache/packages.php
61+
5862
php artisan config:clear || true
5963
php artisan route:clear || true
6064
php artisan view:clear || true
6165
php artisan cache:clear || true
6266
63-
rm -f $BASE/shared/bootstrap/cache/config.php
64-
rm -f $BASE/shared/bootstrap/cache/services.php
65-
rm -f $BASE/shared/bootstrap/cache/packages.php
66-
6767
php artisan storage:link || true
6868
6969
echo "== Permissões"

0 commit comments

Comments
 (0)