From e98f7deaf3f1ef70be1bdde354248c109e240868 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 20 Mar 2022 13:54:18 -0300 Subject: Use `/opt` over `/srv` --- aux/ci/ci-build.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'aux/ci/ci-build.sh') diff --git a/aux/ci/ci-build.sh b/aux/ci/ci-build.sh index 8d18252..bfc0393 100755 --- a/aux/ci/ci-build.sh +++ b/aux/ci/ci-build.sh @@ -36,9 +36,12 @@ EOF cd - git fetch origin refs/notes/*:refs/notes/* sh aux/ci/report.sh -n "$PROJECT" -o public - rsync -av public/ "/srv/http/$PROJECT/" + rsync -av public/ "/opt/www/$TLD/static/$PROJECT/" - tar -C /srv/http -cf /srv/http/"$PROJECT"/repo.tar.gz \ + tar \ + -C /opt/www/$TLD/git/repos \ + -c \ + -f /opt/www/$TLD/static/"$PROJECT"/repo.tar.gz \ "$PROJECT".git printf '\n>>>\n>>> CI logs added as Git note.\n>>>\n>>> Run status was %s\n>>>\n\n' \ -- cgit v1.3