diff options
author | EuAndreh <eu@euandre.org> | 2021-02-18 00:17:14 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-02-18 00:26:49 -0300 |
commit | d5281eba0512c0a56769ec2addf26b77e8c41bae (patch) | |
tree | 6fb0c98a85471ab0b432c07abf1a2193713a133c /aux/ci/ci-build.sh | |
parent | Makefile.in: Fix typo in $(NAME_UC) (diff) | |
download | remembering-d5281eba0512c0a56769ec2addf26b77e8c41bae.tar.gz remembering-d5281eba0512c0a56769ec2addf26b77e8c41bae.tar.xz |
Generate report.sh after CI finishes
Diffstat (limited to 'aux/ci/ci-build.sh')
-rwxr-xr-x | aux/ci/ci-build.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/aux/ci/ci-build.sh b/aux/ci/ci-build.sh index 7e17a7c..1159204 100755 --- a/aux/ci/ci-build.sh +++ b/aux/ci/ci-build.sh @@ -24,6 +24,13 @@ EOF git notes --ref=refs/notes/ci-data add -f -m "$STATUS $FILENAME" git notes --ref=refs/notes/ci-logs add -f -F "$LOGFILE" git notes append -m "$NOTE" + + cd - + if [ -f ./aux/ci/report.sh ]; then + sh aux/ci/report.sh "$PACKAGE" + rsync -avzzP public/ "/srv/http/$PACKAGE/" --delete + fi + printf "\n>>>\n>>> CI logs added as Git note.\n>>>\n>>> Run status was %s" "$STATUS" } trap finish EXIT |