DiscordBotServer #102623
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: 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 |