Skip to content

radolan_cron

radolan_cron #1821

Workflow file for this run

name: DWD Radolan Harvester Unified
on:
workflow_dispatch:
inputs:
environment:
description: "Environment (e.g. development or production)"
required: true
type: string
repository_dispatch:
# This action can be triggered via Github API webook (see https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#repository_dispatch)
types: [radolan_cron]
jobs:
rain:
# Using the payload of the repository_dispatch webhook to specify the environment
environment: "${{ github.event.inputs.environment || github.event.client_payload.environment }}"
runs-on: ubuntu-latest
name: Aggregate rain data from DWD radolan
steps:
- name: Harvester
uses: docker://technologiestiftung/giessdenkiez-de-dwd-harvester:v2.8.0
id: harvester
env:
PG_SERVER: ${{ secrets.PG_SERVER }}
PG_PORT: ${{ secrets.PG_PORT }}
PG_USER: ${{ secrets.PG_USER }}
PG_PASS: ${{ secrets.PG_PASS }}
PG_DB: ${{ secrets.PG_DB }}
SUPABASE_URL: ${{ vars.SUPABASE_URL }}
SUPABASE_BUCKET_NAME: ${{ vars.SUPABASE_DATA_ASSETS_BUCKET }}
SUPABASE_SERVICE_ROLE_KEY: ${{ secrets.SUPABASE_SERVICE_ROLE_KEY }}
OUTPUT: "True"
LOGGING: "INFO"
MAPBOXUSERNAME: ${{ secrets.MAPBOXUSERNAME }}
MAPBOXTOKEN: ${{ secrets.MAPBOXTOKEN }}
MAPBOXTILESET: ${{ secrets.MAPBOXTILESET }}
MAPBOXLAYERNAME: ${{ secrets.MAPBOXLAYERNAME }}
SKIP_MAPBOX: "False"
LIMIT_DAYS: ${{ vars.LIMIT_DAYS }}
SURROUNDING_SHAPE_FILE: ${{ vars.SURROUNDING_SHAPE_FILE }}
WEATHER_HARVEST_LAT: ${{ vars.WEATHER_HARVEST_LAT }}
WEATHER_HARVEST_LNG: ${{ vars.WEATHER_HARVEST_LNG }}