diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/infrastructure/config/conf.env | 5 | ||||
-rwxr-xr-x | src/infrastructure/scripts/reconfigure.sh | 1 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/infrastructure/config/conf.env b/src/infrastructure/config/conf.env index 04af0c4..7a75a1a 100644 --- a/src/infrastructure/config/conf.env +++ b/src/infrastructure/config/conf.env @@ -4,9 +4,10 @@ NAME='servers' TLD='euandre.org' RSYNC_ACCT='zh3051@zh3051' OUT_SUFFIX="s/$NAME" -HTML_OUTDIR_TOP="/srv/www/$OUT_SUFFIX" -HTML_OUTDIR_CI="$HTML_OUTDIR_TOP/ci" +CI_SUFFIX="ci" +HTML_OUTDIR_TOP="/srv/www/$OUT_SUFFIX" +HTML_OUTDIR_CI="$HTML_OUTDIR_TOP/$CI_SUFFIX" RSYNC_ADDR="$RSYNC_ACCT.rsync.net" HOMEPAGE="https://$TLD/$OUT_SUFFIX/" CGIT_URL="https://$TLD/git/$NAME/commit/?id=" diff --git a/src/infrastructure/scripts/reconfigure.sh b/src/infrastructure/scripts/reconfigure.sh index b11bc72..ce2d3e8 100755 --- a/src/infrastructure/scripts/reconfigure.sh +++ b/src/infrastructure/scripts/reconfigure.sh @@ -136,6 +136,7 @@ else --delete \ --chmod=D775,F664 \ --chown=deployer:deployer \ + --exclude "$CI_SUFFIX/*" \ -a \ /run/current-system/profile/share/doc/"$NAME"/ "$HTML_OUTDIR_TOP"/ |