chore: cleanup
This commit is contained in:
parent
71af2b0ac6
commit
331dcc53e7
@ -39,4 +39,4 @@ jobs:
|
|||||||
|
|
||||||
- name: Release Build
|
- name: Release Build
|
||||||
run: |
|
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
|
const port = process.env.PORT || 3000
|
||||||
|
|
||||||
app.get('/', (req: Request, res: Response) => {
|
app.get('/', (req: Request, res: Response) => {
|
||||||
res.send('Cellar Social API')
|
res.send('Cellar Social API is alive and kicking!')
|
||||||
})
|
})
|
||||||
|
|
||||||
app.listen(port, () => {
|
app.listen(port, () => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user