We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc2d1b1 commit 6b5fd85Copy full SHA for 6b5fd85
entrypoint.sh
@@ -77,8 +77,8 @@ print_info "Allowing empty commits: ${INPUT_EMPTYCOMMITS}"
77
COMMIT_MESSAGE="Automated deployment: $(date -u) ${GITHUB_SHA}"
78
if [[ ${INPUT_EMPTYCOMMITS} == "false" ]]; then
79
git commit -m "${COMMIT_MESSAGE}" || \
80
- print_info "No changes detected, skipping deployment" && \
81
- exit 0
+ (print_info "No changes detected, skipping deployment" && \
+ exit 0)
82
else
83
git commit --allow-empty -m "${COMMIT_MESSAGE}"
84
fi
0 commit comments