tag
Some checks failed
Build and Deploy to k3s / build-and-deploy (push) Failing after 28s

This commit is contained in:
Alexis Bruneteau 2025-06-05 05:11:37 +02:00
parent aa07c3d229
commit 7200d50530

View File

@ -21,8 +21,16 @@ spec:
env:
- name: FRONTEND_URL
value: https://portfolio-host.com
volumeMounts:
- name: ssh-key
mountPath: /root/.ssh
readOnly: true
lifecycle:
postStart:
exec:
command: ["php", "artisan", "migrate", "--force"]
volumes:
- name: ssh-key
secret:
secretName: ansible-ssh-key
defaultMode: 0400