Compare commits
3 changed files with 0 additions and 11 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -21,4 +21,3 @@
|
|||
# Go workspace file
|
||||
go.work
|
||||
|
||||
.env
|
||||
|
|
|
|||
|
|
@ -1,10 +0,0 @@
|
|||
# deploy-demo.sh
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
source .env
|
||||
|
||||
GOOS=js GOARCH=wasm go build -o webdemo/parser.wasm ./wasm
|
||||
|
||||
scp webdemo/index.html ${DEPLOY_USER}@${DEPLOY_HOST}:${DEPLOY_PATH}
|
||||
scp webdemo/parser.wasm ${DEPLOY_USER}@${DEPLOY_HOST}:${DEPLOY_PATH}
|
||||
Binary file not shown.
Loading…
Reference in a new issue