From 0ef07b7bd4d2c95453897a412f1b3e8ea59e97fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jens=20Winter-H=C3=BCbenthal?= Date: Thu, 4 Jan 2024 08:51:53 +0100 Subject: [PATCH] Revert "add environment input to workflow_dispatch" This reverts commit 5ce048feeb2f42a96e0540741085a23e3a9e32f1. --- .github/workflows/pumps.yml | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/.github/workflows/pumps.yml b/.github/workflows/pumps.yml index aef3c74b6..73098eb81 100644 --- a/.github/workflows/pumps.yml +++ b/.github/workflows/pumps.yml @@ -2,15 +2,6 @@ name: Update Pumps in Supabase Storage on: workflow_dispatch: - inputs: - environment: - type: choice - description: Environment - required: true - options: - - 'production' - - 'development' - default: 'production' 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: [pumps_cron] @@ -22,12 +13,10 @@ defaults: jobs: collect_pumps: - environment: "${{ github.event.client_payload.environment }} || ${{ github.event.inputs.environment }}" + environment: "${{ github.event.client_payload.environment }}" runs-on: ubuntu-latest name: A job to aggregate pumps data from open street maps and push to GDK Supabase steps: - - name: Print environment - run: echo "${{ github.event.client_payload.environment }} || ${{ github.event.inputs.environment }}" - name: Get the source uses: actions/checkout@v4 - name: build the harvester