fix(ci): add space to pipe thingy
This commit is contained in:
		
							parent
							
								
									328b235077
								
							
						
					
					
						commit
						ac404bb685
					
				| @ -47,7 +47,7 @@ deploy_stage: | |||||||
| 
 | 
 | ||||||
|     # restart Node.js and reload nginx configuration |     # restart Node.js and reload nginx configuration | ||||||
|     - sshpass -p "${OLDROOTPWD}" ssh root@rockfic.com '~/cp.sh' |     - sshpass -p "${OLDROOTPWD}" ssh root@rockfic.com '~/cp.sh' | ||||||
|     - ssh rockfic@${DEPLOY_SERVER} "mongosh mongodb://localhost <(echo -e \"use rockfic_old\n db.dropDatabase()\n use ${DB_NAME}\n db.dropDatabase()\")" |     - ssh rockfic@${DEPLOY_SERVER} "mongosh mongodb://localhost < (echo -e \"use rockfic_old\n db.dropDatabase()\n use ${DB_NAME}\n 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' | ||||||
|     - ssh rockfic@${DEPLOY_SERVER} node run "~/rockfic-staging/.output/server/index.mjs" \&\>/dev/null \& disown \%1 |     - ssh rockfic@${DEPLOY_SERVER} node run "~/rockfic-staging/.output/server/index.mjs" \&\>/dev/null \& disown \%1 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user