aboutsummaryrefslogtreecommitdiff
path: root/aux/ci/git-post-receive.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-09-01 11:18:01 -0300
committerEuAndreh <eu@euandre.org>2021-09-01 11:18:01 -0300
commit692185136a6d7e96660b90370759d1f83a05ec4c (patch)
tree34852b497fd9054ab55ff27045efd4a19dd9f331 /aux/ci/git-post-receive.sh
parentsrc/remembering.c: Enforce C style (diff)
downloadremembering-692185136a6d7e96660b90370759d1f83a05ec4c.tar.gz
remembering-692185136a6d7e96660b90370759d1f83a05ec4c.tar.xz
aux/: Update
Diffstat (limited to 'aux/ci/git-post-receive.sh')
-rwxr-xr-xaux/ci/git-post-receive.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/aux/ci/git-post-receive.sh b/aux/ci/git-post-receive.sh
index b8584bf..92bba73 100755
--- a/aux/ci/git-post-receive.sh
+++ b/aux/ci/git-post-receive.sh
@@ -4,7 +4,8 @@ set -eu
for n in $(seq 0 $((GIT_PUSH_OPTION_COUNT - 1))); do
opt="$(eval "echo \$GIT_PUSH_OPTION_$n")"
if [ "$opt" = skip-ci ] || [ "$opt" = ci-skip ]; then
- printf "\n'%s' option detected, not running ci-build.sh\n\n" "$opt"
+ printf "\n'%s' option detected, not running ci-build.sh\n\n" \
+ "$opt"
exit 0
fi
done
@@ -17,5 +18,5 @@ LOGS_DIR="/opt/ci/$PROJECT/logs"
sh "/opt/ci/$PROJECT/ci-build.sh" "$PROJECT" "$LOGS_DIR" "$SHA" ||:
echo 'To retrigger the build, run:'
-echo "cd /srv/git/$PROJECT.git/"
+echo "cd /srv/http/$PROJECT.git/"
echo "sh /opt/ci/$PROJECT/ci-build.sh" "$PROJECT" "$LOGS_DIR" "$SHA"