aboutsummaryrefslogtreecommitdiff
path: root/aux/ci/git-pre-push.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-03-06 01:22:29 -0300
committerEuAndreh <eu@euandre.org>2021-03-06 01:25:07 -0300
commit917ab158bb17fc633aaf93beb1cdcf5b43ab668b (patch)
treeaa4ca01fb33793b099ffd95b90b8efe77d73708c /aux/ci/git-pre-push.sh
parentAdd servers/mailbug (diff)
downloadserver-917ab158bb17fc633aaf93beb1cdcf5b43ab668b.tar.gz
server-917ab158bb17fc633aaf93beb1cdcf5b43ab668b.tar.xz
Update files under aux/
Diffstat (limited to 'aux/ci/git-pre-push.sh')
-rwxr-xr-xaux/ci/git-pre-push.sh9
1 files changed, 0 insertions, 9 deletions
diff --git a/aux/ci/git-pre-push.sh b/aux/ci/git-pre-push.sh
index 5546cb2..951d353 100755
--- a/aux/ci/git-pre-push.sh
+++ b/aux/ci/git-pre-push.sh
@@ -5,15 +5,6 @@ PACKAGE="$(basename "$PWD")"
LOGS_DIR="/opt/ci/$PACKAGE/logs"
REMOTE_GIT_DIR="/srv/git/$PACKAGE.git"
-DESCRIPTION="$(mktemp)"
-if [ -f description ]
-then
- cp description "$DESCRIPTION"
-else
- git config euandreh.description > "$DESCRIPTION"
-fi
-
-scp "$DESCRIPTION" "git.euandreh.xyz:$REMOTE_GIT_DIR/description"
ssh git.euandreh.xyz mkdir -p "$LOGS_DIR"
scp aux/ci/ci-build.sh "git.euandreh.xyz:$(dirname "$LOGS_DIR")/ci-build.sh"
scp aux/ci/git-post-receive.sh "git.euandreh.xyz:$REMOTE_GIT_DIR/hooks/post-receive"