aboutsummaryrefslogtreecommitdiff
path: root/build_deploy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build_deploy.sh')
-rwxr-xr-xbuild_deploy.sh20
1 files changed, 0 insertions, 20 deletions
diff --git a/build_deploy.sh b/build_deploy.sh
deleted file mode 100755
index 80572d0..0000000
--- a/build_deploy.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-
-cd "$(dirname "$0")"
-
-./build_repo.sh "$@"
-
-deploy() {
- local TARGET="cynerd.cz:/var/www/myrepo"
- ssh cynerd.cz -- mkdir -p "/var/www/myrepo/$1" # Make sure that directory exists
- echo -e "\e[1;34mDeploy $1\e[0m"
- scp repo/$1/* $TARGET/$1/
-
- .$1-sdk/staging_dir/host/bin/usign -S -s key.sec -m $1.lua
- scp $1.lua $TARGET/$1.lua
- scp $1.lua.sig $TARGET/$1.lua.sig
- rm $1.lua.sig
-}
-
-[ ! -d repo/omnia ] || deploy omnia
-[ ! -d repo/turris ] || deploy turris