Skip to content

chore: lint

chore: lint #16

Workflow file for this run

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