Skip to content

Commit

Permalink
fix: allow empty when action pushes
Browse files Browse the repository at this point in the history
  • Loading branch information
drmingdrmer committed Jun 7, 2021
1 parent 67d6adb commit 3175ef3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ runs:
git \
-c "user.name=drmingdrmer" \
-c "[email protected]" \
commit -m "md2zhihu built"
commit \
--allow-empty \
-m "md2zhihu built"
git push -f origin HEAD:${{ github.ref }}-md2zhihu
Expand Down

0 comments on commit 3175ef3

Please sign in to comment.