suivi/.mage.yml.dist
Simon Vieille 6b0fd815d3
Some checks failed
ci/woodpecker/push/build Pipeline failed
update mage conf
2024-03-29 12:38:51 +01:00

27 lines
938 B
Plaintext

magephp:
environments:
prod:
user: ssh_user
from: ./
to: /home/ssh_user/app
host_path: /home/ssh_user/app
rsync: '-avz --delete'
exclude:
- "/.git"
- "/.env.local"
- "/migrations/"
- "/public/uploads/"
- "/public/files/"
- "/var/"
- "/public/js/fos_js_routes.json"
- "/public/build"
- "/public/media"
- "/config/secrets"
hosts:
- ssh_host
on-deploy:
- exec: { cmd: 'make clean', desc: 'cache' }
- exec: { cmd: 'make doctrine-migration', desc: 'migration' }
- exec: { cmd: 'php ./bin/console cache:warmup', desc: 'warmup' }
- exec: { cmd: 'php ./bin/console cache:warmup', desc: 'warmup2' }