Skip to content

Commit

Permalink
re-run permissions after optimize
Browse files Browse the repository at this point in the history
  • Loading branch information
esizer committed Dec 24, 2024
1 parent b280377 commit 97fce81
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion infrastructure/bin/post_deployment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ if
mkdir --parents /tmp/bootstrap/cache /tmp/api/storage/framework/cache/data && \
chown www-data:www-data /tmp/bootstrap/cache && \
chown -R www-data:www-data /tmp/api/storage && \
php artisan optimize;
php artisan optimize && \
chown www-data:www-data /tmp/bootstrap/cache && \
chown -R www-data:www-data /tmp/api/storage;
then
add_section_block ":white_check_mark: Laravel cache setup *successful*."
else
Expand Down

0 comments on commit 97fce81

Please sign in to comment.