Skip to content

Discord stackoverflow bot #125

Discord stackoverflow bot

Discord stackoverflow bot #125

Workflow file for this run

name: Discord stackoverflow bot
on:
workflow_dispatch:
schedule:
- cron: "0 11 * * *"
jobs:
build:
name: Discord stackoverflow bot
runs-on: ubuntu-latest
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