aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/infrastructure/ci/git-post-receive.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/infrastructure/ci/git-post-receive.sh b/src/infrastructure/ci/git-post-receive.sh
index ab8c9d5..bd21478 100755
--- a/src/infrastructure/ci/git-post-receive.sh
+++ b/src/infrastructure/ci/git-post-receive.sh
@@ -41,7 +41,7 @@ now() {
date '+%Y-%m-%dT%H:%M:%S%:z'
}
-LOGS_DIR=/var/log/ci/servers/
+LOGS_DIR=/var/log/ci/"$(basename "$PWD" .git)"/
TIMESTAMP="$(now)"
FILENAME="$TIMESTAMP-$SHA.log"
LOGFILE="$LOGS_DIR/$FILENAME"