diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 090f8f0..061cedc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -52,7 +52,7 @@ deploy_stage: - ssh rockfic@${DEPLOY_SERVER} 'cd migrator && bun install && NODE_ENV=production bun run ./index.ts' - ssh rockfic@${DEPLOY_SERVER} 'sed -Ei "s,(hasMigrated = )false,\1true," rockfic-staging/lib/dbconfig.ts' - ssh rockfic@${DEPLOY_SERVER} node "~/rockfic-staging/.output/server/index.mjs" \&\>/dev/null \& disown \%1 - - ssh rockfic@${DEPLOY_SERVER} systemctl reload apache2 + - ssh rockfic@${DEPLOY_SERVER} sudo systemctl reload apache2 environment: name: staging url: https://next.rockfic.com