Skip to content

Load Weather Forecasts #13760

Load Weather Forecasts

Load Weather Forecasts #13760

Workflow file for this run

name: Load Weather Forecasts
on:
schedule:
- cron: '45 * * * *' # Hourly at 45 minutes past the hour
workflow_dispatch:
jobs:
load-weather:
name: Load Weather Forecasts
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Authenticate to Google Cloud
uses: google-github-actions/auth@v1
with:
credentials_json: '${{ secrets.GOOGLE_CREDENTIALS }}'
- name: Install dependencies
run: pip3 install -r data/requirements.txt
- name: Load weather data
run: python3 data/load_weather.py
keepalive-job:
name: Keepalive Workflow
runs-on: ubuntu-latest
permissions:
actions: write
steps:
- uses: actions/checkout@v4
- uses: gautamkrishnar/keepalive-workflow@v2