✨ feat(ansible): Ajoute la migration Doctrine et vide le cache après déploiement.
This commit is contained in:
@@ -180,7 +180,12 @@
|
||||
name: caddy
|
||||
state: reloaded
|
||||
enabled: yes
|
||||
|
||||
- name: Exécuter doctrine:migration:migrate dans le répertoire de l application
|
||||
ansible.builtin.command: php bin/console doctrine:migration:migrate
|
||||
become: false
|
||||
args:
|
||||
chdir: "{{ path }}"
|
||||
when: ansible_os_family == "Debian"
|
||||
- name: Exécuter cache:clear dans le répertoire de l application
|
||||
ansible.builtin.command: php bin/console cache:clear
|
||||
become: false
|
||||
|
||||
Reference in New Issue
Block a user