diff options
-rwxr-xr-x | templates/turris3x.run | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/turris3x.run b/templates/turris3x.run index 3fa1859..1d4b100 100755 --- a/templates/turris3x.run +++ b/templates/turris3x.run @@ -31,8 +31,8 @@ echo_stage "Sign" echo_stage "Deploy" ssh upload rm -rf "deploy-turris3x-$BOARD" scp -r "bin/$ARCH/packages/base" upload:deploy-turris3x-$BOARD -exit 0 # Disable deploy for now -ssh upload /bin/sh -ex <<EOF - rm -rf /var/www/repo/turris3x +ssh upload /bin/sh -e <<EOF + mkdir -p /var/www/repo/turris3x + rm -rf /var/www/repo/turris3x/$BOARD mv deploy-turris3x-$BOARD /var/www/repo/turris3x/$BOARD EOF |