summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rwxr-xr-xtemplates/turris3x.run6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/turris3x.run b/templates/turris3x.run
index d3cc5bc..3fa1859 100755
--- a/templates/turris3x.run
+++ b/templates/turris3x.run
@@ -29,10 +29,10 @@ echo_stage "Sign"
./staging_dir/host/bin/usign -S -s ~/openwrt-repo.key -m "bin/$ARCH/packages/base/Packages"
echo_stage "Deploy"
-ssh -i ~/upload.ssh.key upload@cynerd.cz rm -rf "deploy-turris3x-$BOARD"
-scp -i ~/upload.ssh.key -r "bin/$ARCH/packages/base" upload@cynerd.cz:deploy-turris3x-$BOARD
+ssh upload rm -rf "deploy-turris3x-$BOARD"
+scp -r "bin/$ARCH/packages/base" upload:deploy-turris3x-$BOARD
exit 0 # Disable deploy for now
-ssh -i ~/upload.ssh.key upload@cynerd.cz /bin/sh -ex <<EOF
+ssh upload /bin/sh -ex <<EOF
rm -rf /var/www/repo/turris3x
mv deploy-turris3x-$BOARD /var/www/repo/turris3x/$BOARD
EOF