Skip to content

Daily event announcement #1190

Daily event announcement

Daily event announcement #1190

name: "Daily event announcement"
on:
schedule:
- cron: "0 8 * * *"
jobs:
announce:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.9'
- uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ hashFiles('.github/announce/requirements.txt') }}
- run: pip install -r .github/announce/requirements.txt
- run: python .github/announce/main.py --daily
env:
DISCORD_URL: ${{ secrets.DISCORD_URL }}