ci: add base of deploy
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Simon Vieille 2022-12-28 13:45:03 +01:00
parent 013ad4b32d
commit 26e3d7eab9
Signed by: deblan
GPG key ID: 579388D585F70417

24
.mage.yml.dist Normal file
View file

@ -0,0 +1,24 @@
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' }