From c013b6bc098dbfd1a22bfecc8043493f74b85cf8 Mon Sep 17 00:00:00 2001 From: Tim Eves Date: Sat, 19 Oct 2024 17:09:52 +0700 Subject: [PATCH] Pass a named environment, instead of a flag --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ceb8f8b76..93eed1899 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -42,6 +42,6 @@ jobs: event-type: sldr-deployed client-payload: >- { - "release": ${{ github.ref_name == 'release' }}, + "environment": [ ${{ github.ref_name == 'release' && 'production' || 'staging' }} ], "run_id": ${{ github.run_id }} }