aboutsummaryrefslogtreecommitdiff
path: root/aux/ci/ci-build.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-06-24 11:18:40 -0300
committerEuAndreh <eu@euandre.org>2021-06-24 11:18:40 -0300
commit2539cf045c79ae1ebddccba7f887040d10e6ec1f (patch)
tree72f8f153f0880a98c4aa335e108be0c995b5b103 /aux/ci/ci-build.sh
parentdependencies.dot: Songbooks could make money (diff)
downloadpackage-repository-2539cf045c79ae1ebddccba7f887040d10e6ec1f.tar.gz
package-repository-2539cf045c79ae1ebddccba7f887040d10e6ec1f.tar.xz
aux/: Update
Diffstat (limited to '')
-rwxr-xr-xaux/ci/ci-build.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/aux/ci/ci-build.sh b/aux/ci/ci-build.sh
index 60af813..7fa3382 100755
--- a/aux/ci/ci-build.sh
+++ b/aux/ci/ci-build.sh
@@ -1,7 +1,7 @@
#!/bin/sh
set -eux
-PACKAGE="$1"
+PROJECT="$1"
LOGS_DIR="$2"
read -r _ SHA _ # oldrev newrev refname
FILENAME="$(date -Is)-$SHA.log"
@@ -26,8 +26,8 @@ EOF
git notes append -m "$NOTE"
cd -
- sh aux/ci/report.sh "$PACKAGE"
- rsync -av public/ "/srv/http/$PACKAGE/" --delete
+ sh aux/ci/report.sh "$PROJECT" public
+ rsync -av public/ "/srv/http/$PROJECT/" --delete
printf "\n>>>\n>>> CI logs added as Git note.\n>>>\n>>> Run status was %s" "$STATUS"
}