From f4026f444f34ff3f284e56a0de0a032080a83536 Mon Sep 17 00:00:00 2001 From: Pavel Kirilin <win10@list.ru> Date: Thu, 24 Oct 2019 02:50:29 +0400 Subject: [PATCH] Fixed deploy config. Signed-off-by: Pavel Kirilin <win10@list.ru> --- deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index d6664d8..97830dd 100644 --- a/deploy.sh +++ b/deploy.sh @@ -1,6 +1,6 @@ # Backing up currently running nginx sites. mkdir -p "${SITES_BACKUP:?}" -cp "${APP_DIR:?}/nginx/sites-enabled/"* "${SITES_BACKUP}" +cp -f "${APP_DIR:?}/nginx/sites-enabled/"* "${SITES_BACKUP}" # Removing all data from previous installation. rm -rf "${APP_DIR:?}/"* -- GitLab