Skip to content

Commit c632cde

Browse files
committed
Finalize deployment
1 parent a0f5c9d commit c632cde

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

bin/deploy-to-prod.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff 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
128
fi

deploy.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@
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',
@@ -63,5 +63,5 @@
6363

6464
// Migrate database before symlink new release.
6565

66-
//before('deploy:symlink', 'database:migrate');
66+
before('deploy:symlink', 'database:migrate');
6767

0 commit comments

Comments
 (0)