We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd3b249 commit 8467e71Copy full SHA for 8467e71
.github/workflows/static.yml
@@ -1,10 +1,14 @@
1
name: Deploy static content to Pages
2
3
on:
4
- push:
5
- branches: ["main"]
6
-
7
- workflow_dispatch:
+ workflow_run:
+ workflows:
+ - Run API tests
+ - Run PWA tests
8
+ branches:
9
+ - main
10
+ types:
11
+ - completed
12
13
permissions:
14
contents: read
@@ -37,8 +41,8 @@ jobs:
37
41
cd pwa &&
38
42
mkdir -p ./app/web &&
39
43
echo -n ${{ vars.FLUSH_API_URL }} > ./app/web/apiurl &&
40
- GOARCH=wasm GOOS=js go build -o ./app/web/app.wasm &&
- BUILD_STATIC=true go build &&
44
+ GOARCH=wasm GOOS=js go build -o ./app/web/app.wasm ./main/main.go &&
45
+ BUILD_STATIC=true go build -o ./flush-log ./main/main.go &&
46
./flush-log &&
47
ls -ltrRa &&
48
mv ./*.html ./*.webmanifest ./*.js ./*.css ./app &&
0 commit comments