diff options
Diffstat (limited to 'templates')
-rwxr-xr-x | templates/alpine.run | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/alpine.run b/templates/alpine.run index ecacc7e..bba82ad 100755 --- a/templates/alpine.run +++ b/templates/alpine.run @@ -69,9 +69,9 @@ uchroot build 'buildrepo --purge personal' echo_stage "Deploy" ssh upload rm -rf "deploy-alpine" -scp -r "$WORKSPACE/packages/personal" upload:deploy-alpine +scp -r "$WORKSPACE/packages/personal/$ARCH" upload:"deploy-alpine-$ARCH" ssh upload /bin/sh -e <<EOF - rm -rf /var/www/repo/alpine - mv deploy-alpine /var/www/repo/alpine + rm -rf "/var/www/repo/alpine/$ARCH" + mv "deploy-alpine-$ARCH" "/var/www/repo/alpine/$ARCH" EOF scp "$FILES"/alpine/setup.sh{,.gpg} upload:/var/www/repo/alpine/ |