Skip to content

Commit

Permalink
Update deploy.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
NickLiffen authored Jan 2, 2024
1 parent 9d5e448 commit 308cabf
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,10 @@ jobs:
shell: bash
run: |
echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
echo "strippedBranchName=$(echo $branch | sed -e 's/\//-/g')" >> $GITHUB_OUTPUT
echo "finalBranch${strippedBranchName:0:100}" >> $GITHUB_OUTPUT
echo $branch
echo $strippedBranchName
echo $finalBranch
- run: sam build --use-container
- run: sam deploy --debug --no-confirm-changeset --no-fail-on-empty-changeset --stack-name CodeScanningToSlackStack-${{ steps.extract_branch.outputs.branch }} --capabilities CAPABILITY_IAM --region ${{ env.REGION }} --resolve-s3
- run: sam deploy --debug --no-confirm-changeset --no-fail-on-empty-changeset --stack-name CodeScanningToSlackStack-${{ steps.extract_branch.outputs.finalBranch }} --capabilities CAPABILITY_IAM --region ${{ env.REGION }} --resolve-s3

0 comments on commit 308cabf

Please sign in to comment.