Skip to content

Commit cb8620f

Browse files
committed
fix(cd): properly detecting codesandbox changes per dir
1 parent ac19ae7 commit cb8620f

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/cd-matrix.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,10 @@ jobs:
169169
id: check_changes
170170
run: |
171171
cd igniteui-live-editing-samples/${{ matrix.submodule_dir }}
172-
if [ -n "$(git status --porcelain)" ]; then
172+
if [ -n "$(git status --porcelain .)" ]; then
173173
echo "changes_detected=true" >> $GITHUB_OUTPUT
174174
echo "Changed files:"
175-
git status --porcelain
175+
git status --porcelain .
176176
else
177177
echo "changes_detected=false" >> $GITHUB_OUTPUT
178178
echo "No changes to commit."
@@ -186,6 +186,7 @@ jobs:
186186
git config --global user.email "github-actions[bot]@users.noreply.github.com"
187187
git add .
188188
git commit -m "Automated repository update"
189+
continue-on-error: true
189190

190191
- name: Push changes
191192
if: matrix.repositoryfy == true && steps.check_changes.outputs.changes_detected == 'true'

0 commit comments

Comments
 (0)