fix(ci): add sudo
This commit is contained in:
parent
813feaa31c
commit
ce4945f623
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user