drone zip up all the web files
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Sid 2020-10-12 20:24:05 +01:00
parent 0308227dc5
commit 94b20ddc06

View File

@ -25,6 +25,7 @@ steps:
- GOOS=js GOARCH=wasm go build -o main.wasm ./cmd/web - GOOS=js GOARCH=wasm go build -o main.wasm ./cmd/web
- cp ./cmd/web/html/index.html . - cp ./cmd/web/html/index.html .
- cp "$(go env GOROOT)/misc/wasm/wasm_exec.js" . - cp "$(go env GOROOT)/misc/wasm/wasm_exec.js" .
- tar czvf web.tar.gz main.wasm index.wasm wasm_exec.js
- name: publish - name: publish
image: plugins/gitea-release image: plugins/gitea-release
@ -46,8 +47,6 @@ steps:
- mac_test - mac_test
- linux_test - linux_test
- windows_test.exe - windows_test.exe
- main.wasm - web.tar.gz
- index.html
- wasm_exec.js
checksum: checksum:
- sha1 - sha1