Skip to content

Commit 6ac91b4

Browse files
committed
Rename current dir
1 parent 1e20cc4 commit 6ac91b4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bin/deploy-to-prod.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ if [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ $(phpenv version-name) = "7.1" ];
77
#scp package.tgz $DEPLOY_USER@$DEPLOY_HOST:$DEPLOY_PATH
88
#ssh $DEPLOY_USER@$DEPLOY_HOST $DEPLOY_PATH/deploy.sh
99
#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
1011
vendor/bin/dep deploy production
1112
fi

0 commit comments

Comments
 (0)