This commit is contained in:
parent
013ad4b32d
commit
26e3d7eab9
24
.mage.yml.dist
Normal file
24
.mage.yml.dist
Normal 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' }
|
Loading…
Reference in a new issue