Skip to content

DiscordBotServer #106837

DiscordBotServer

DiscordBotServer #106837

name: DiscordBotServer
on:
schedule:
- cron: "*/15 * * * *"
workflow_dispatch:
jobs:
discord-bot-server:
name: Discord-Bot-Server
runs-on: ubuntu-latest
concurrency: discord-bot-server
env:
DISCORD_BOT_TOKEN: ${{ secrets.DISCORD_BOT_TOKEN }}
SUPABASE_URL: ${{ secrets.SUPABASE_URL }}
SUPABASE_ANON_KEY: ${{ secrets.SUPABASE_ANON_KEY }}
steps:
- name: Checkout the code
uses: actions/checkout@v2
- name: Install Node v16
uses: actions/[email protected]
with:
node-version: '16'
- name: Housekeeping
run: yarn && yarn bootstrap
- name: Run the script
run: yarn lerna run --stream --scope @socialsnitch/discord-bot-server prod