Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
ci: exit if nothing changed.
Browse files Browse the repository at this point in the history
  • Loading branch information
coderbyheart committed Apr 29, 2024
1 parent 8ddf313 commit b81bc8b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,6 @@ jobs:
for folder in $(find ./ -type d -name 'at_host-*'); do cp ./${folder}/* public; done
cd public
git add -A
if git diff-index --quiet HEAD --; then echo "Nothing changed."; exit 0; fi
git commit -m "Update HEX files"
git push -f origin HEAD:gh-pages

0 comments on commit b81bc8b

Please sign in to comment.