Skip to content

Commit

Permalink
Move output to main module
Browse files Browse the repository at this point in the history
  • Loading branch information
amarouane-ABDELHAK committed Oct 30, 2023
1 parent 6718928 commit a5ae4c0
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/actions/cdk-deploy/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@ inputs:
script_path:
required: true
type: string
outputs:
auth_stackname:
description: "Auth Stack name"
value: ${{ steps.deploy_auth_stack.outputs.auth_stackname }}



runs:
Expand Down Expand Up @@ -67,7 +64,3 @@ runs:
working-directory: ${{ inputs.dir }}
run: |
cdk deploy --all --require-approval never --outputs-file ${HOME}/cdk-outputs.json
stack=$(cat ${HOME}/cdk-outputs.json | jq -r 'keys_unsorted[0]')
echo "auth_stackname=$stack" >> $GITHUB_OUTPUT

0 comments on commit a5ae4c0

Please sign in to comment.