File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -4,9 +4,5 @@ if [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ $(phpenv version-name) = "7.1" ];
44 eval " $( ssh-agent -s) "
55 chmod 600 .travis/deploy.key
66 ssh-add .travis/deploy.key
7- # scp package.tgz $DEPLOY_USER@$DEPLOY_HOST:$DEPLOY_PATH
8- # ssh $DEPLOY_USER@$DEPLOY_HOST $DEPLOY_PATH/deploy.sh
9- # ssh $DEPLOY_USER@$DEPLOY_HOST php\ ~/php.of.by/builds/current/bin/console\ doctrine:migrations:migrate\ --env=prod
10- # ssh $DEPLOY_USER@$DEPLOY_HOST mv\ ~/php.of.by/builds/current\ ~/php.of.by/builds/current_old
117 vendor/bin/dep deploy production
128fi
Original file line number Diff line number Diff line change 5151 'deploy:package_extract ' ,
5252 'deploy:shared ' ,
5353 'deploy:writable ' ,
54- // 'deploy:cache:clear',
55- // 'deploy:cache:warmup',
54+ 'deploy:cache:clear ' ,
55+ 'deploy:cache:warmup ' ,
5656 'deploy:symlink ' ,
5757 'deploy:unlock ' ,
5858 'cleanup ' ,
6363
6464// Migrate database before symlink new release.
6565
66- // before('deploy:symlink', 'database:migrate');
66+ before ('deploy:symlink ' , 'database:migrate ' );
6767
You can’t perform that action at this time.
0 commit comments