Skip to content

Commit e2c0acd

Browse files
committed
chore(ci): remove uncommitted-changes check from deploy workflow
1 parent 2e3647b commit e2c0acd

1 file changed

Lines changed: 0 additions & 21 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -94,24 +94,3 @@ jobs:
9494
- name: Invalidate Cloudfront
9595
run: aws cloudfront create-invalidation --distribution-id ${{ steps.terragrunt_output.outputs.distribution_id }} --paths "/*"
9696

97-
- name: Check for uncommitted changes
98-
run: |
99-
git config --global --add safe.directory "$GITHUB_WORKSPACE"
100-
101-
echo "Git status after build:"
102-
git status
103-
git diff
104-
105-
CHANGES="$(git status --porcelain)"
106-
if [ -n "$CHANGES" ]; then
107-
echo "❌ Uncommitted changes detected in the repository."
108-
echo "These files changed (format: XY path):"
109-
echo "$CHANGES"
110-
111-
echo "::error::Your deployment produced uncommitted changes. \
112-
This usually means something should be added to .gitignore or a lockfile/other tracked file needs updating."
113-
exit 1
114-
else
115-
echo "✅ No uncommitted changes after deploy."
116-
fi
117-

0 commit comments

Comments
 (0)