Skip to content

Commit

Permalink
fix: inputs for workflow_call are avaiable in a different context
Browse files Browse the repository at this point in the history
  • Loading branch information
sprutton1 committed Jun 24, 2024
1 parent b4a274d commit 29aecf8
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/deploy-stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,33 +53,33 @@ jobs:

deploy-service:
needs: invalidate-cache
if: ${{ github.event.inputs.service != 'all' }}
if: ${{ inputs.service != 'all' }}
uses: ./.github/workflows/deploy-service.yml
with:
environment: ${{ github.event.inputs.environment }}
service: ${{ github.event.inputs.service }}
version: ${{ github.event.inputs.version }}
environment: ${{ inputs.environment }}
service: ${{ inputs.service }}
version: ${{ inputs.version }}
secrets: inherit

deploy-services:
needs: invalidate-cache
if: ${{ github.event.inputs.service == 'all' }}
if: ${{ inputs.service == 'all' }}
strategy:
fail-fast: false
matrix:
service: ["pinga", "rebaser", "sdf", "veritech", "web"]
uses: ./.github/workflows/deploy-service.yml
with:
environment: ${{ github.event.inputs.environment }}
environment: ${{ inputs.environment }}
service: ${{ matrix.service }}
version: ${{ github.event.inputs.version }}
version: ${{ inputs.version }}
secrets: inherit

set-init:
needs: invalidate-cache
uses: ./.github/workflows/set-init-version.yml
with:
environment: ${{ github.event.inputs.environment }}
service: ${{ github.event.inputs.service }}
version: ${{ github.event.inputs.version }}
environment: ${{ inputs.environment }}
service: ${{ inputs.service }}
version: ${{ inputs.version }}
secrets: inherit

0 comments on commit 29aecf8

Please sign in to comment.