diff --git a/deploy.sh b/deploy.sh index 5b2d6e0..07072c7 100644 --- a/deploy.sh +++ b/deploy.sh @@ -15,10 +15,12 @@ function main() { function big() { pushd ./public/vue/dndex-ui + git checkout master git pull origin master npm install npm run build - scp -r ./dist/* zach@tickle.lan:./dndex-ui/public/ + ssh zach@tickle.lan rm -rf ./dndex-ui/public + scp -r ./dist zach@tickle.lan:./dndex-ui/public popd } diff --git a/public/vue/dndex-ui b/public/vue/dndex-ui index b926030..e2afbac 160000 --- a/public/vue/dndex-ui +++ b/public/vue/dndex-ui @@ -1 +1 @@ -Subproject commit b926030237a25c51548d511c77b5df1ff7b8f7bd +Subproject commit e2afbacc8ed75cddb91cdccdedf77752107cb9ba