Skip to content

Commit

Permalink
T3 - Fix SAM Workflow - Doesn't break pipline with no changes
Browse files Browse the repository at this point in the history
  • Loading branch information
felipefreitassilva committed Nov 26, 2024
1 parent d1fc7ac commit 2b41114
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/sam.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,4 @@ jobs:

# Deploy the SAM application
- name: SAM Deploy
run: |
sam deploy --config-file samconfig.toml --region us-east-1 --no-confirm-changeset
if [ $? -eq 1 ]; then
echo "No changes to deploy"
else
exit 1
fi
run: sam deploy --config-file samconfig.toml --region us-east-1 --no-confirm-changeset

0 comments on commit 2b41114

Please sign in to comment.