Skip to content

Commit e2531ec

Browse files
committed
worfklow
1 parent 8753380 commit e2531ec

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/drawio-export.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,16 @@ jobs:
2525
path: docs/diagrams
2626
format: svg
2727
transparent: true
28+
action-mode: all
2829

2930
- name: Commit exported SVGs
3031
run: |
3132
git config --local user.email "github-actions[bot]@users.noreply.github.com"
3233
git config --local user.name "github-actions[bot]"
33-
git add docs/diagrams/*.svg
34-
git diff --staged --quiet || git commit -m "Update exported diagrams [skip ci]"
34+
git add docs/diagrams/*.svg || true
35+
if ! git diff --staged --quiet; then
36+
git commit -m "Update exported diagrams [skip ci]"
37+
fi
3538
3639
- name: Push changes
3740
uses: ad-m/github-push-action@master

0 commit comments

Comments
 (0)