Skip to content

Commit

Permalink
Revert "add environment input to workflow_dispatch"
Browse files Browse the repository at this point in the history
This reverts commit 5ce048f.
  • Loading branch information
Jens Winter-Hübenthal committed Jan 4, 2024
1 parent 5ce048f commit 0ef07b7
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/pumps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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
Expand Down

1 comment on commit 0ef07b7

@vercel
Copy link

@vercel vercel bot commented on 0ef07b7 Jan 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.