Skip to content

removing vercel

removing vercel #41

Workflow file for this run

name: Node.js CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: self-hosted
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: |
touch .env
echo "${{secrets.PROD_SECRET}}" > .env
- name: Install PM2
run: npm install -g pm2
- run: pm2 restart index.js
- name: Install PM2
run: npm install -g pm2
- run: pm2 restart index.js