Skip to content

Give Strava Kudos

Give Strava Kudos #66

Workflow file for this run

name: Give Strava Kudos
on:
schedule:
- cron: "12 2,14,20 * * *"
workflow_dispatch:
env:
STRAVA_EMAIL: ${{ secrets.STRAVA_EMAIL }}
STRAVA_PASSWORD: ${{ secrets.STRAVA_PASSWORD }}
TELEGRAM_LHF_CHAT_ID: ${{ secrets.TELEGRAM_LHF_CHAT_ID }}
TELEGRAM_LHF_TOKEN: ${{ secrets.TELEGRAM_LHF_TOKEN }}
jobs:
run-kudos-cron:
runs-on: ubuntu-20.04
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.9.10'
cache: 'pip'
- run: pip install -r requirements.txt
- run: playwright install
- run: python give_kudos.py