Skip to content

Commit

Permalink
fix(ci): recover from AI-hallucinated top-level envs (#1483)
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts authored Aug 7, 2024
1 parent 6743925 commit 88eae25
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 88eae25

Please sign in to comment.