mirror of
https://github.com/andres-montanez/Magallanes
synced 2024-04-25 19:10:36 +02:00
30 lines
831 B
YAML
30 lines
831 B
YAML
magephp:
|
|
environments:
|
|
production:
|
|
user: app
|
|
branch: test
|
|
from: ./
|
|
host_path: /var/www/test
|
|
releases: 4
|
|
exclude:
|
|
- var/cache
|
|
- var/log
|
|
hosts:
|
|
- webserver1
|
|
- webserver2
|
|
- webserver3
|
|
pre-deploy:
|
|
- git/update
|
|
- composer/install
|
|
- composer/dump-autoload
|
|
on-deploy:
|
|
- symfony/cache-warmup: { env: 'prod' }
|
|
- symfony/assets-install: { env: 'prod' }
|
|
- symfony/assetic-dump: { env: 'prod' }
|
|
on-release:
|
|
post-release:
|
|
post-deploy:
|
|
- magic
|
|
custom_tasks:
|
|
- App\Deployment\MagicTask
|