Fetch weather #377
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: Fetch weather | |
on: | |
workflow_dispatch: | |
schedule: | |
# run daily at 1am San Francisco time | |
- cron: '0 8 * * *' | |
jobs: | |
scheduled: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Trigger weather fetch | |
env: | |
API_KEY: ${{ secrets.OPENWEATHERMAP_API_KEY }} | |
run: |- | |
curl -X POST -d "api_key=$API_KEY" 'https://www.pillarpointstewards.com/fetch-weather/' |