Skip to content

Commit 1795b50

Browse files
committed
In Action: Allow deploy to succeed when build introduced no change
1 parent ac668f8 commit 1795b50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,5 +87,5 @@ jobs:
8787
run: |
8888
cd ${{ github.workspace }}
8989
git add ${{ env.OUTPUT_DIR }}
90-
git commit -m "Update /docs with latest build"
90+
git commit -m "Update /docs with latest build" || git commit --allow-empty -m "/docs rebuild introduced no changes"
9191
git push origin release

0 commit comments

Comments
 (0)