Skip to content

.github/workflows/remind.yml #100

.github/workflows/remind.yml

.github/workflows/remind.yml #100

Workflow file for this run

name: run discord bot at 3:20pm
on:
schedule:
- cron: "20 6 * * *" # utc time
jobs:
cron:
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: "16.x"
- name: Install dependencies
run: yarn install --prefer-offline
- name: Generate Environment Variables File
run: |
echo "ORG=$ORG" >> .env
echo "AUTH_TOKEN=$AUTH_TOKEN" >> .env
echo "HOOK_URL=$HOOK_URL" >> .env
env:
ORG: ${{ secrets.ORG }}
AUTH_TOKEN: ${{ secrets.AUTH_TOKEN }}
HOOK_URL: ${{ secrets.HOOK_URL }}
- name: Run bot
run: yarn msg-remind