Skip to content

telegram github quiz #1930

telegram github quiz

telegram github quiz #1930

name: telegram github quiz
on:
schedule:
- cron: "0 */10 * * *"
# Each 10hours to have at least 2 quiz questions per day (24h)
jobs:
build:
defaults:
run:
working-directory: ./.github/workflows/report_quiz
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Send Quiz message to the channel
shell: bash
run: |
./report_quiz.sh ${{ secrets.TELEGRAM_OSSCAMEROON_GROUP_ID }} ${{ secrets.TELEGRAM_BOT_TOKEN }} ${{ secrets.QUIZAPI_KEY }}