Skip to content

Generate Challenges #785

Generate Challenges

Generate Challenges #785

Workflow file for this run

name: Generate Challenges
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16
uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'yarn'
- run: yarn install --frozen-lockfile
- run: npm run create-challenge
env:
MONGO_DB_URI: ${{ secrets.MONGO_DB_URI }}
EMAIL_APP_PASSWORD: ${{ secrets.EMAIL_APP_PASSWORD }}