Skip to content

Update Caddyfile for correct hostname #21

Update Caddyfile for correct hostname

Update Caddyfile for correct hostname #21

Workflow file for this run

name: Deployment
on:
push:
branches: [main, ci*]
workflow_dispatch:
jobs:
run:
env:
CI: true
NODE_ENV: production
MONGO_URI: ${{ secrets.MONGO_URI }}
HOME_URI: ${{ secrets.HOME_URI }}
API_URI: ${{ secrets.API_URI }}
HOME_PORT: ${{ secrets.HOME_PORT }}
API_PORT: ${{ secrets.API_PORT }}
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16
uses: actions/setup-node@v3
with:
node-version: 16
cache: 'yarn'
- run: yarn install
- run: yarn build
- run: pm2 delete svbot-web || true
- run: pm2 start npm --name "svbot-web" -- start