From 8baeed426b62ad3b47e7adf925673aeaa39de197 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=98=99=E2=97=A6=20The=20Tablet=20=E2=9D=80=20GamerGirla?= =?UTF-8?q?ndCo=20=E2=97=A6=E2=9D=A7?= <i.am.the.tablet@proton.me> Date: Tue, 26 Dec 2023 09:48:05 -0500 Subject: [PATCH] fix(ci): syntax (again) --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cc84c0e..df27ee7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -45,7 +45,7 @@ deploy_stage: #- rsync --archive --delete ${CI_PROJECT_DIR}/cnf/ ${DEPLOY_USER}@${DEPLOY_SERVER}:~/cnf/ # restart Node.js and reload nginx configuration - - sshpass -p "${OLDROOTPWD}" ssh root@rockfic.com 'bash ~/cp.sh' + - sshpass -p "${OLDROOTPWD}" ssh root@rockfic.com '~/cp.sh' - ssh rockfic@${DEPLOY_SERVER} "mongosh mongodb://localhost --eval \"use ${DB_NAME}; db.dropDatabase();\"" - ssh rockfic@${DEPLOY_SERVER} 'mongorestore -d rockfic_old dump/rockfic - ssh rockfic@${DEPLOY_SERVER} 'cd migrator && bun install && bun run ./index.ts'