mirror of
https://github.com/lmg-anon/mikupad.git
synced 2026-07-09 17:19:17 +00:00
added error handling for when there are no changes to commit
This commit is contained in:
parent
3de5fea467
commit
bddcb73b54
1 changed files with 2 additions and 2 deletions
4
.github/workflows/compile_mikupad.yml
vendored
4
.github/workflows/compile_mikupad.yml
vendored
|
|
@ -39,8 +39,8 @@ jobs:
|
|||
git config --global user.name "github-actions[bot]"
|
||||
git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
||||
git add -f mikupad_compiled.html
|
||||
git commit -m "Update mikupad_compiled.html"
|
||||
git push origin main
|
||||
git commit -m "Update mikupad_compiled.html" || echo "No changes to commit"
|
||||
git push origin main || echo "Nothing to push"
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue