summaryrefslogtreecommitdiff
path: root/bin/deploy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/deploy.sh')
-rwxr-xr-xbin/deploy.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/deploy.sh b/bin/deploy.sh
index 15795011..48808d5b 100755
--- a/bin/deploy.sh
+++ b/bin/deploy.sh
@@ -58,13 +58,13 @@ ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no "${remote_hos
set -e
if [[ -f \"${remote_path}/current/config/config.php\" ]]; then
- echo \"Config backup\"
- cp \"${remote_path}/current/config/config.php\" \"${deploy_id}-config.php\"
-
- echo \"Restoring config\"
- cp \"${deploy_id}-config.php\" \"${remote_path}/${deploy_id}/config/config.php\"
+ echo \"Configuring\"
+ cp \"${remote_path}/current/config/config.php\" \"${remote_path}/${deploy_id}/config/config.php\"
fi
echo \"Changing symlink\"
ln -nsf \"${remote_path}/${deploy_id}\" \"${remote_path}/current\"
+
+ echo \"Migrating\"
+ php \"${remote_path}/current/bin/migrate\"
"