suivi/.mage.yml.dist
Simon Vieille 0e79de0bd6
Some checks failed
ci/woodpecker/push/build Pipeline failed
fix rsync excluded files
2024-03-29 13:52:06 +01:00

27 lines
922 B
Plaintext

magephp:
log_dir: /tmp
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/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' }