Actions: Add "Nothing to commit" to prevent fail
Some checks failed
Build and Save Artifact / build (push) Failing after 5s

This commit is contained in:
Cyanoure
2024-09-15 16:33:40 +02:00
parent f37033a178
commit cff26ff339

View File

@ -47,7 +47,7 @@ jobs:
git config --global user.name 'Git Bot'
git config --global user.email 'noreply@kozelkaricsi.hu'
git add -f dist
git commit -am "Build"
git commit -am "Build" || echo "Nothing to commit"
git push origin HEAD --force # Push to the current branch
# Upload the build directory as an artifact