summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2020-10-16 10:07:46 +0200
committerKarel Kočí <cynerd@email.cz>2020-10-16 10:07:46 +0200
commit6506e598bba44ca9263129439c6edbffe043cde2 (patch)
treec06128f56d18baaa0136e14a4a907cf477c123bd
parentceadb6f9503cbabb7a89c14be1dda4fef715d87a (diff)
downloadlaminar-cnf-6506e598bba44ca9263129439c6edbffe043cde2.tar.gz
laminar-cnf-6506e598bba44ca9263129439c6edbffe043cde2.tar.bz2
laminar-cnf-6506e598bba44ca9263129439c6edbffe043cde2.zip
turris-updater-conf: fix upload command
-rwxr-xr-xjobs/turris-updater-conf.run2
1 files changed, 1 insertions, 1 deletions
diff --git a/jobs/turris-updater-conf.run b/jobs/turris-updater-conf.run
index 03c8ac0..f81289f 100755
--- a/jobs/turris-updater-conf.run
+++ b/jobs/turris-updater-conf.run
@@ -10,7 +10,7 @@ signify -S -s ~/openwrt-repo.sec -m pkgs/updater.lua
echo_stage "Deploy"
ssh upload mkdir -p "/var/www/repo/turris"
-sftp -b - <<EOF
+sftp -b - upload <<EOF
put pkgs/updater.lua /var/www/repo/turris/updater.lua
put pkgs/updater.lua.sig /var/www/repo/turris/updater.lua.sig
EOF