Skip to content

Discord stackoverflow bot #630

Discord stackoverflow bot

Discord stackoverflow bot #630

Workflow file for this run

name: Discord stackoverflow bot
on:
workflow_dispatch:
schedule:
- cron: "0 11 * * *"
jobs:
build:
name: Discord Stack Overflow bot
runs-on: ubuntu-22.04
if: github.repository == 'duckdb/duckdb-web'
steps:
- uses: actions/checkout@v4
- name: Setting up Python
uses: actions/setup-python@v5
with:
python-version: "3.8"
architecture: "x64"
cache: 'pip'
- run: pip install duckdb requests pytz
- name: Trigger StackOverflow Bot
env:
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}
run: |
python3 ./scripts/stackoverflow_bot.py