Skip to content

Commit

Permalink
move variables to workflow level so they're used in both jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
pputman12 committed Dec 12, 2024
1 parent c7fc640 commit 5cdf943
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/helm_deploy_dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ on:
description: 'The change cause to use for the deployment'
required: false
type: string
env:
ACTION: "${{ github.event.inputs.action }}"
DEPLOYMENT: "${{ github.event.inputs.deployment }}"
CHANGE-CAUSE: "${{ github.event.inputs.change-cause }}"
USE-BRANCH-COMMIT: "${{ github.event.inputs.use-branch-commit }}"

jobs:
set-config:
Expand All @@ -47,12 +52,6 @@ jobs:
service-account: ${{ steps.set-config.outputs.service-account }}
steps:
- id: set-config
env:
ACTION: "${{ github.event.inputs.action }}"
DEPLOYMENT: "${{ github.event.inputs.deployment }}"
CHANGE-CAUSE: "${{ github.event.inputs.change-cause }}"
USE-BRANCH-COMMIT: "${{ github.event.inputs.use-branch-commit }}"

run: |
# SERVICE_ACCOUNT_SUFFIX="-ro"
SERVICE_ACCOUNT_SUFFIX=""
Expand Down

0 comments on commit 5cdf943

Please sign in to comment.