Compare commits

..

2 Commits

Author SHA1 Message Date
peaceiris
2eee632d78 fix: link to commit hash for external deployment
Close #72
2020-01-06 22:24:14 +09:00
dependabot-preview[bot]
127155c640 deps: bump alpine from 3.11.0 to 3.11.2 (#71)
Bumps alpine from 3.11.0 to 3.11.2.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-31 11:07:02 +09:00
2 changed files with 8 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
FROM alpine:3.11.0
FROM alpine:3.11.2
RUN apk add --no-cache \
bash \

View File

@@ -117,7 +117,13 @@ git remote add origin "${remote_repo}"
git add --all
print_info "Allowing empty commits: ${INPUT_EMPTYCOMMITS}"
COMMIT_MESSAGE="Automated deployment: $(date -u) ${GITHUB_SHA}"
if [ -n "${EXTERNAL_REPOSITORY}" ]; then
COMMIT_MESSAGE="Automated deployment: $(date -u) ${GITHUB_REPOSITORY}@${GITHUB_SHA}"
else
COMMIT_MESSAGE="Automated deployment: $(date -u) ${GITHUB_SHA}"
fi
if [[ ${INPUT_EMPTYCOMMITS} == "false" ]]; then
git commit -m "${COMMIT_MESSAGE}" || skip
else