From 7cd18c91ab80ec72010b719c2b8ed71f71b194f8 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?= Date: Thu, 28 Dec 2023 18:29:41 -0500 Subject: [PATCH] refactor(ci): add db name argument to staging script --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e611e19..58332b8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -48,7 +48,7 @@ deploy_staging: # restart Node.js and reload nginx configuration - sshpass -p "${OLDROOTPWD}" ssh root@rockfic.com '~/cp.sh' - - ssh rockfic@${DEPLOY_SERVER} "~/stage.sh" + - ssh rockfic@${DEPLOY_SERVER} "~/stage.sh" ${DB_NAME} - ssh rockfic@${DEPLOY_SERVER} node "~/rockfic-staging/.output/server/index.mjs" \&\>/dev/null \& disown \%1 - ssh rockfic@${DEPLOY_SERVER} sudo systemctl reload apache2 except: