Event reminder announcement #84507
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Event reminder announcement" | |
on: | |
schedule: | |
- cron: "*/15 * * * *" | |
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 | |
env: | |
DISCORD_URL: ${{ secrets.DISCORD_URL }} |