From 9f1ee0c6c6497d43fb275491ec53fda420f64b81 Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Mon, 3 Sep 2018 21:56:49 +0200 Subject: Fixups and cleanup for GitLab CI --- bin/deploy.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'bin') 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\" " -- cgit v1.2.3-54-g00ecf