Skip to content

chore: use 2.5 minute interval for watchtime #35

chore: use 2.5 minute interval for watchtime

chore: use 2.5 minute interval for watchtime #35

Workflow file for this run

name: Continuous Deployment
on:
push:
branches: ["main"]
env:
ENV_VARS: ${{ secrets.ENV_VARS }}
PROD_ENV_VARS: ${{ secrets.PROD_ENV_VARS }}
jobs:
build-prod:
runs-on: self-hosted
defaults:
run:
working-directory: ./prod
steps:
- uses: actions/checkout@v4
with:
path: "prod"
- uses: actions/setup-node@v4
with:
node-version: 20
- run: pnpm install
- name: Create .env
run: |
echo $ENV_VARS | base64 --decode > .env
echo $PROD_ENV_VARS | base64 --decode >> .env
- run: pm2 restart production.config.cjs