Skip to content

Commit

Permalink
update matrix-object workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Guillaume Falourd <guillaume.falourd@zup.com.br>
  • Loading branch information
GuillaumeFalourd committed Aug 31, 2023
1 parent c5676d3 commit 10510a6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/66-matrix-object.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,24 +41,24 @@ jobs:
NAME=$(jq '.name' task.json)
echo $NAME
echo "taskId=$NAME" >> $GITHUB_OUTPUT
TYPE=$(jq '.type' task.json)
echo $TYPE
echo "type=$TYPE" >> $GITHUB_OUTPUT
# TYPE=$(jq '.type' task.json)
# echo $TYPE
# echo "type=$TYPE" >> $GITHUB_OUTPUT
rm task.json
- if: steps.task.outputs.type == 'IAC'
- if: contains( matrix.stage , 'IAC')
uses: stack-spot/runtime-github-action-iac@v1
with:
FEATURES_LEVEL_LOG: debug
INPUT_PATH: ${{ steps.task.outputs.taskId }}

- if: steps.task.outputs.type == 'DEPLOY'
- if: contains( matrix.stage , 'DEPLOY')
uses: stack-spot/runtime-github-action-deploy@v1
with:
FEATURES_LEVEL_LOG: debug
INPUT_PATH: ${{ steps.task.outputs.taskId }}

- if: steps.task.outputs.type == 'DESTROY'
- if: contains( matrix.stage , 'DESTROY')
uses: stack-spot/runtime-github-action-destroy@v1
with:
FEATURES_LEVEL_LOG: debug
Expand Down

0 comments on commit 10510a6

Please sign in to comment.