deblan.io-murph/.mage.yml.dist
Simon Vieille c6e9a61f2a
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci: add base of deploy
2022-12-28 14:04:58 +01:00

26 lines
760 B
Plaintext

magephp:
environments:
prod:
user: ssh_user
from: ./
to: app_directory
host_path: app_directory
rsync: '-avz --delete'
exclude:
- "/.git"
- "*.swp"
- "*.swo"
- "/.env.local"
- "/data"
- "/migrations/*"
- "/public/uploads/"
- "/public/files/"
- "/var/cache/*"
- "/var/log/*"
- "/public/media"
hosts:
- ssh_host
on-deploy:
- exec: { cmd: 'make clean', desc: 'cache' }
- exec: { cmd: 'make doctrine-migration', desc: 'migration' }