Big to deploy vue
This commit is contained in:
11
deploy.sh
11
deploy.sh
@@ -8,6 +8,17 @@ function main() {
|
||||
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'
|
||||
if [ -n "$BIG" ]; then
|
||||
big
|
||||
fi
|
||||
}
|
||||
|
||||
function big() {
|
||||
pushd ./public/vue/dndex-ui
|
||||
npm install
|
||||
npm run build
|
||||
scp ./dist/* zach@tickle.lan:./dndex-ui/public/
|
||||
popd
|
||||
}
|
||||
|
||||
if [ "$0" == "$BASH_SOURCE" ]; then
|
||||
|
||||
Reference in New Issue
Block a user