aboutsummaryrefslogtreecommitdiff
path: root/templates/deploy.sh.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/deploy.sh.erb')
-rw-r--r--templates/deploy.sh.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/deploy.sh.erb b/templates/deploy.sh.erb
index 2673d3a..8d5dfd8 100644
--- a/templates/deploy.sh.erb
+++ b/templates/deploy.sh.erb
@@ -7,13 +7,13 @@
NAME="$1"
OWNER="$2"
GROUP="$3"
-SITE=$BASE/$NAME
INSTANCE="ikiwiki"
CONF="/etc/ikiwiki"
BASE="<%= scope.lookupvar('ikiwiki::sites_folder') %>"
REPO_OWNER="<%= scope.lookupvar('ikiwiki::git_implementation') %>"
REPO="<%= scope.lookupvar('ikiwiki::git_folder') %>/$NAME.git"
REMOTE="$REPO_OWNER@localhost:$NAME"
+SITE=$BASE/$NAME
# Syntax check
if [ -z "$INSTANCE" ]; then