Skip to content

don't crash when incorrect permissions discord #17

don't crash when incorrect permissions discord

don't crash when incorrect permissions discord #17

Workflow file for this run

name: Node.js CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: self-hosted
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: ${{matrix.node-version}}
cache: "yarn"
- name: Setup Environment Variables
run: echo '${{ secrets.ENV_FILE }}' > ./app/.env
- name: Install & Build
run: |
yarn install
yarn build
- name: Stop & Start
run: |
pm2 stop "lyra-bot"
pm2 start "lyra-bot"
pm2 save