1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-07 07:29:33 +00:00

Merge pull request #2094 from bbbradsmith/workflow-docs-tweak

More specific git commit error suppression in doc upload
This commit is contained in:
Bob Andrews 2023-05-06 12:04:57 +02:00 committed by GitHub
commit 027ec91944
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -115,9 +115,8 @@ jobs:
git config push.default simple
git add -A
# prevent failure when there is nothing to commit
if git commit -m "Updated from https://github.com/cc65/cc65/commit/${GITHUB_SHA}" ; then
git push
fi
git diff-index --quiet HEAD || git commit -m "Updated from https://github.com/cc65/cc65/commit/${GITHUB_SHA}"
git push
# enter secrets under "repository secrets"
- name: Upload snapshot to sourceforge