Skip to content

feat(Readme): add commands and fix License #7

feat(Readme): add commands and fix License

feat(Readme): add commands and fix License #7

Workflow file for this run

name: Deploy
on:
push:
branches: [ main ]
tags:
- 'v*'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '20.x'
- name: Install dependencies
run: |
npm i
npm ci
- name: Build
run: npm run build
- name: Deploy Discord Commands
if: startsWith(github.ref, 'refs/tags/')
env:
DISCORD_BOT_TOKEN: ${{ secrets.DISCORD_BOT_TOKEN }}
DISCORD_CLIENT_ID: ${{ secrets.DISCORD_CLIENT_ID }}
DISCORD_GUILD_ID: ${{ secrets.DISCORD_GUILD_ID }}
run: npm run deploy-commands