Skip to content

Commit c1b2dbe

Browse files
committed
Fix: do not try publishing api docs if nothing has changed
1 parent c5b1a3d commit c1b2dbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ jobs:
518518
npm run build
519519
520520
- name: Commit and push
521-
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
521+
if: steps.diffcheck.outputs.clean == 'false' && ${{ startsWith(github.ref, 'refs/tags/v') }}
522522
run: |
523523
git config --global user.name "github-actions[bot]"
524524
git config --global user.email "[email protected]"

0 commit comments

Comments
 (0)