From 0ed14b47c4b1f82a7995d5dafe17a99b0d616e1b Mon Sep 17 00:00:00 2001 From: breel Date: Sun, 26 Jul 2020 01:05:04 -0600 Subject: [PATCH] update deploy --- deploy.sh | 8 +++++--- public/vue/dndex-ui | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/deploy.sh b/deploy.sh index 6540f41..cebcf5e 100644 --- a/deploy.sh +++ b/deploy.sh @@ -7,9 +7,11 @@ function main() { go test ./... fi GOOS=linux GOARCH=arm GOARM=5 CGO_ENABLED=0 go build -o $(basename "$PWD") -a -installsuffix cgo - scp ./public/swagger/* zach@tickle.lan:./dndex/files/swagger/ - scp ./dndex zach@tickle.lan:./dndex/dndex.new - ssh zach@tickle.lan bash -c 'true; while [ -e ./dndex/dndex.new ]; do printf "."; sleep 3; done; echo' + for authed in dndex dndex-auth; do + scp ./public/swagger/* zach@tickle.lan:./$authed/files/swagger/ + scp ./dndex zach@tickle.lan:./$authed/dndex.new + ssh zach@tickle.lan bash -c "true; while [ -e ./$authed/dndex.new ]; do printf '.'; sleep 3; done; echo" + done if [ -n "$BIG" ]; then big fi diff --git a/public/vue/dndex-ui b/public/vue/dndex-ui index 6749d9f..ef4bfae 160000 --- a/public/vue/dndex-ui +++ b/public/vue/dndex-ui @@ -1 +1 @@ -Subproject commit 6749d9fda2d1022ab24f36dde889dc51629df983 +Subproject commit ef4bfae193a599c4fe7016a64e56663caf06f470