From 88eae2560e3ce66ce2d854c59f690f1efc9d672c Mon Sep 17 00:00:00 2001 From: Derek Roberts Date: Tue, 6 Aug 2024 23:25:15 -0400 Subject: [PATCH] fix(ci): recover from AI-hallucinated top-level envs (#1483) --- .github/workflows/.deploy.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/.deploy.yml b/.github/workflows/.deploy.yml index 76a2fca59..012cf2b08 100644 --- a/.github/workflows/.deploy.yml +++ b/.github/workflows/.deploy.yml @@ -28,12 +28,10 @@ on: description: Run Cypress tests if the core apps have changed (excludes sync) value: ${{ jobs.init.outputs.deploy_core }} -# Set environment at workflow/top level -environment: ${{ inputs.environment }} - jobs: init: name: Deploy (init) + environment: ${{ inputs.environment }} outputs: fam-modded-zone: ${{ steps.fam-modded-zone.outputs.fam-modded-zone }} deploy_core: ${{ steps.triggers.outputs.core }} @@ -106,6 +104,7 @@ jobs: deploy: name: Deploy + environment: ${{ inputs.environment }} if: needs.init.outputs.deploy_core == 'true' needs: [init] runs-on: ubuntu-22.04 @@ -158,6 +157,7 @@ jobs: # ETL testing will only run on Pull Requests if the sync/ directory is modified sync: name: Deploy (sync) + environment: ${{ inputs.environment }} if: needs.init.outputs.deploy_sync == 'true' needs: [init] runs-on: ubuntu-latest