diff options
author | Karel Kočí <cynerd@email.cz> | 2019-05-17 11:19:56 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2019-05-17 11:19:56 +0200 |
commit | d64528826571f79d58e25508c33b6418a1f1ef45 (patch) | |
tree | 8e1ecd22f16413f044dc750d01e00520c0dac1f8 /templates | |
parent | ab3eb208a8020a9a083e6e0fae0c10c710bcd8f7 (diff) | |
download | laminar-cnf-d64528826571f79d58e25508c33b6418a1f1ef45.tar.gz laminar-cnf-d64528826571f79d58e25508c33b6418a1f1ef45.tar.bz2 laminar-cnf-d64528826571f79d58e25508c33b6418a1f1ef45.zip |
alpine: architecture specific deployment
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/ |