Compare commits
1 Commits
v2.3.2-rc0
...
v2.3.2-rc1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6b5fd85f5d |
@@ -77,8 +77,8 @@ print_info "Allowing empty commits: ${INPUT_EMPTYCOMMITS}"
|
|||||||
COMMIT_MESSAGE="Automated deployment: $(date -u) ${GITHUB_SHA}"
|
COMMIT_MESSAGE="Automated deployment: $(date -u) ${GITHUB_SHA}"
|
||||||
if [[ ${INPUT_EMPTYCOMMITS} == "false" ]]; then
|
if [[ ${INPUT_EMPTYCOMMITS} == "false" ]]; then
|
||||||
git commit -m "${COMMIT_MESSAGE}" || \
|
git commit -m "${COMMIT_MESSAGE}" || \
|
||||||
print_info "No changes detected, skipping deployment" && \
|
(print_info "No changes detected, skipping deployment" && \
|
||||||
exit 0
|
exit 0)
|
||||||
else
|
else
|
||||||
git commit --allow-empty -m "${COMMIT_MESSAGE}"
|
git commit --allow-empty -m "${COMMIT_MESSAGE}"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user