fix(ci): syntax (again)
This commit is contained in:
parent
79ceb09afb
commit
8baeed426b
@ -45,7 +45,7 @@ deploy_stage:
|
|||||||
#- rsync --archive --delete ${CI_PROJECT_DIR}/cnf/ ${DEPLOY_USER}@${DEPLOY_SERVER}:~/cnf/
|
#- rsync --archive --delete ${CI_PROJECT_DIR}/cnf/ ${DEPLOY_USER}@${DEPLOY_SERVER}:~/cnf/
|
||||||
|
|
||||||
# restart Node.js and reload nginx configuration
|
# 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} "mongosh mongodb://localhost --eval \"use ${DB_NAME}; db.dropDatabase();\""
|
||||||
- ssh rockfic@${DEPLOY_SERVER} 'mongorestore -d rockfic_old dump/rockfic
|
- ssh rockfic@${DEPLOY_SERVER} 'mongorestore -d rockfic_old dump/rockfic
|
||||||
- ssh rockfic@${DEPLOY_SERVER} 'cd migrator && bun install && bun run ./index.ts'
|
- ssh rockfic@${DEPLOY_SERVER} 'cd migrator && bun install && bun run ./index.ts'
|
||||||
|
Loading…
Reference in New Issue
Block a user