Created
January 15, 2018 14:43
-
-
Save Basster/a80d3a59f5180cb5dcaa5032e40883b9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
magephp: | |
log_dir: ./temp | |
environments: | |
test: | |
user: debian | |
host_path: /home/debian/test.1001fonts.net | |
exclude: | |
- .docker/data | |
- .gitlab | |
- .platform | |
- .scripts/ci/test | |
- assets | |
- doc | |
- temp | |
- tests | |
- var/log | |
- var/sessions | |
- zz_stuff | |
- application/models/illustrations | |
- application/models/typefaces | |
- node_modules | |
hosts: | |
- 144.217.247.101 | |
rsync: -avz --delete | |
symfony: | |
env: 'prod' | |
pre-deploy: | |
- composer/dump-autoload: | |
flags: '--optimize --no-dev --classmap-authoritative' | |
- fs/copy: | |
from: '.docker/php-fpm/.%environment%.env' | |
to: './.env' | |
- symfony/cache-clear: | |
flags: '--no-warmup' | |
- symfony/cache-warmup: {} | |
- symfony/assets-install: | |
target: 'public' | |
flags: '' | |
- exec: | |
cmd: 'bin/console fos:js-routing:dump --target assets/fos_js_routes.js --env=prod' | |
desc: 'dump routes for webpack' | |
- exec: | |
cmd: 'yarn install' | |
desc: 'install frontend dependencies' | |
- exec: | |
cmd: 'yarn build' | |
desc: 'build frontend scripts' | |
on-deploy: | |
- fs/copy: | |
from: '.docker/nginx/config-%environment%.ini' | |
to: './application/config/config.ini' | |
- exec: | |
cmd: '.scripts/ci/deployment/symfony-prepare.sh' | |
desc: 'Prepare Symfony Environment' | |
timeout: 600 | |
- exec: | |
cmd: '.scripts/restart-test-env.sh' | |
desc: 'Restart Docker instances' | |
timeout: 300 | |
on-release: | |
post-release: | |
post-deploy: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment