Compare commits

..
Author SHA1 Message Date
bebe785b9c
Updated parser build 2026-09-11 14:40:02 +02:00
78307e3b1a
Added deploy script 2026-09-11 14:39:42 +02:00
3 changed files with 11 additions and 0 deletions

1
.gitignore vendored
View file

@ -21,3 +21,4 @@
# Go workspace file
go.work
.env

10
deploy-demo.sh Executable file
View file

@ -0,0 +1,10 @@
# 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.