Give Strava Kudos #2488
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: Give Strava Kudos | |
on: | |
schedule: | |
- cron: "30 5-23/6 * * *" | |
workflow_dispatch: | |
env: | |
STRAVA_EMAIL: ${{ secrets.STRAVA_EMAIL }} | |
STRAVA_PASSWORD: ${{ secrets.STRAVA_PASSWORD }} | |
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 | |