Merge pull request 'chore: cleanup' (#3) from project-init into staging
Reviewed-on: #3
This commit is contained in:
commit
99e79d79ad
@ -39,4 +39,4 @@ jobs:
|
||||
|
||||
- name: Release Build
|
||||
run: |
|
||||
ssh -o StrictHostKeyChecking=no api@51.161.134.20 'source ~/.nvm/nvm.sh; cd cs-backend && echo "PORT=${{ vars.PORT }}" > .env && git pull && npm ci && npm run build && node -v && pm2 list && pm2 delete cellar-api && pm2 start npm --name cellar-api -- start'
|
||||
ssh -o StrictHostKeyChecking=no api@51.161.134.20 'source ~/.nvm/nvm.sh; cd cs-backend && echo "PORT=${{ vars.PORT }}" > .env && git pull && npm ci && npm run build && pm2 delete cellar-api && pm2 start npm --name cellar-api -- start'
|
||||
|
@ -7,7 +7,7 @@ const app: Express = express()
|
||||
const port = process.env.PORT || 3000
|
||||
|
||||
app.get('/', (req: Request, res: Response) => {
|
||||
res.send('Cellar Social API')
|
||||
res.send('Cellar Social API is alive and kicking!')
|
||||
})
|
||||
|
||||
app.listen(port, () => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user