aboutsummaryrefslogtreecommitdiff
path: root/aux/ci
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-01-19 15:35:09 -0300
committerEuAndreh <eu@euandre.org>2022-01-19 15:35:09 -0300
commit5bf097ba7a2e5c99db74f0ae4997e7b44d47580c (patch)
tree020dd8831f84aac20864e8ba2abe2f0473edf781 /aux/ci
parentaux/workflow/l10n.sh: Wait for trailing pending processes (diff)
downloadtd-5bf097ba7a2e5c99db74f0ae4997e7b44d47580c.tar.gz
td-5bf097ba7a2e5c99db74f0ae4997e7b44d47580c.tar.xz
aux/ci/ci-build.sh: Bundle repository and expose it publicly
Diffstat (limited to 'aux/ci')
-rwxr-xr-xaux/ci/ci-build.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/aux/ci/ci-build.sh b/aux/ci/ci-build.sh
index 34233b7..332d9f0 100755
--- a/aux/ci/ci-build.sh
+++ b/aux/ci/ci-build.sh
@@ -38,6 +38,9 @@ EOF
sh aux/ci/report.sh -n "$PROJECT" -o public
rsync -av public/ "/srv/http/$PROJECT/" --delete
+ tar -C /srv/http -cf /srv/http/"$PROJECT"/repo.tar.gz \
+ "$PROJECT".git
+
printf '\n>>>\n>>> CI logs added as Git note.\n>>>\n>>> Run status was %s\n>>>\n\n' \
"$STATUS"
}