Deploy script

This commit is contained in:
Arne Keller 2021-03-18 10:58:20 +01:00
parent 4b0541c67a
commit 9a958925a3

4
deploy.sh Executable file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env bash
trunk build --release --public-url '/~s_keller/kv/'
wasm-opt -O4 dist/*.wasm -o=/tmp/wasm.opt && cp /tmp/wasm.opt dist/*.wasm
rsync -r --chmod=D755,F644 --times --perms --info=progress2 dist/* s_keller@i08fs1.ira.uka.de:~/.public_html/kv/