Daily Digest @ 8AM UTC | 9AM WAT #197
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: Daily Digest @ 8AM UTC | 9AM WAT | |
on: | |
schedule: | |
- cron: '0 8 * * *' | |
jobs: | |
daily_digest: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository content | |
uses: actions/checkout@v2 | |
- name: Set up Python environment | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.x' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: Run Daily Digest Distribution Pipeline | |
env: | |
SUPABASE_URL: ${{ secrets.SUPABASE_URL }} | |
SUPABASE_KEY: ${{ secrets.SUPABASE_KEY }} | |
APP_PASSWORD: ${{ secrets.APP_PASSWORD }} | |
run: | | |
python QuickPunch/pipeline/daily_digest.py | |
echo "Succesfully distributed to subscribers" |