summaryrefslogtreecommitdiff
path: root/templates/alpine.run
diff options
context:
space:
mode:
Diffstat (limited to 'templates/alpine.run')
-rwxr-xr-xtemplates/alpine.run14
1 files changed, 6 insertions, 8 deletions
diff --git a/templates/alpine.run b/templates/alpine.run
index dce5dda..7f35cb7 100755
--- a/templates/alpine.run
+++ b/templates/alpine.run
@@ -68,12 +68,10 @@ uroot cp "$FILES/alpine/abuild.conf" "$ROOT/etc/abuild.conf"
uchroot build 'buildrepo --purge --keep-going personal'
echo_stage "Deploy"
-sftp -b - upload <<EOF
- !rm -rf "deploy-alpine-$ARCH"
- put -R "$WORKSPACE/packages/personal/$ARCH" "deploy-alpine-$ARCH"
- !rm -rf "/var/www/repo/alpine/$ARCH"
- mv "deploy-alpine-$ARCH" "/var/www/repo/alpine/$ARCH"
-
- put "$FILES"/alpine/setup.sh /var/www/repo/alpine/
- put "$FILES"/alpine/setup.sh.gpg /var/www/repo/alpine/
+sftp -b - upload:/var/www/repo <<EOF
+ !mkdir -p alpine
+ !rm -rf "alpine/$ARCH"
+ put -R "$WORKSPACE/packages/personal/$ARCH" "alpine/$ARCH"
+ put "$FILES"/alpine/setup.sh alpine/
+ put "$FILES"/alpine/setup.sh.gpg alpine/
EOF