format and trying to add wallet to root header #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy Discord Commands | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy-commands: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '18' | |
cache: 'yarn' | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Build bot | |
run: yarn build:bot | |
- name: Deploy Commands | |
run: yarn register-commands | |
env: | |
DISCORD_BOT_TOKEN: ${{ secrets.DISCORD_BOT_TOKEN }} | |
DISCORD_CLIENT_ID: ${{ secrets.DISCORD_CLIENT_ID }} | |
DATABASE_URL: ${{ secrets.DATABASE_URL }} | |
INDEXABLE_CHANNEL_IDS: '' | |
REVALIDATE_SECRET: '' | |
WEB_URL: '' |