diff options
author | Igor Scheller <igor.scheller@igorshp.de> | 2018-09-03 21:56:49 +0200 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2018-09-03 22:09:07 +0200 |
commit | 9f1ee0c6c6497d43fb275491ec53fda420f64b81 (patch) | |
tree | 24d1a7a4b66704e6a059d6a5cff285a905c3506e /bin/deploy.sh | |
parent | 2c1c00e9c97f1c9ac5719a0e6d2525e9632f38dd (diff) |
Fixups and cleanup for GitLab CI
Diffstat (limited to 'bin/deploy.sh')
-rwxr-xr-x | bin/deploy.sh | 10 |
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\" " |