Skip to content

radolan_cron

radolan_cron #1282

Workflow file for this run

name: DWD Radolan Harvester
on:
workflow_dispatch: {}
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.client_payload.environment }}'
runs-on: ubuntu-latest
name: Aggregate rain data from DWD radolan
steps:
- name: Harvester
uses: technologiestiftung/[email protected]
id: harvester
with:
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'