fix: Handle artisan storage:link at k8s deployment level

This commit is contained in:
Vincent BRIDIER 2026-07-31 09:37:20 +02:00
parent 8280ee5458
commit 695b2b766c

View file

@ -54,6 +54,11 @@ spec:
containers:
- name: ${CI_PROJECT_PATH_SLUG}-container
image: $IMAGE_TAG
command: ["/bin/sh", "-c"]
args:
- |
php artisan storage:link || true
exec apache2-foreground
envFrom:
- configMapRef:
name: ${CI_PROJECT_PATH_SLUG}-config-map