File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 30
30
uses : actions/checkout@v4
31
31
- name : Setup Pages
32
32
uses : actions/configure-pages@v5
33
+ - name : Install wget
34
+ run : sudo apt-get update && sudo apt-get install -y wget
35
+ - name : Install Tailwind CLI
36
+ run : |
37
+ wget https://github.com/tailwindlabs/tailwindcss/releases/download/v3.4.14/tailwindcss-linux-x64 &&
38
+ chmod +x tailwindcss-linux-x64 &&
39
+ sudo mv tailwindcss-linux-x64 /usr/bin/tailwindcss
33
40
- name : Setup Go environment
34
41
uses : actions/setup-go@v5.0.2
35
42
with :
@@ -40,10 +47,12 @@ jobs:
40
47
run : |
41
48
cd pwa &&
42
49
mkdir -p ./app/web &&
50
+ mv ./web/* ./app/web/ &&
43
51
echo -n ${{ vars.FLUSH_API_URL }} > ./app/web/apiurl &&
44
52
GOARCH=wasm GOOS=js go build -o ./app/web/app.wasm ./main/main.go &&
45
53
BUILD_STATIC=true go build -o ./flush-log ./main/main.go &&
46
54
./flush-log &&
55
+ tailwindcss -i ./app/web/tailwind-input.css -o ./app/web/style.css --minify
47
56
ls -ltrRa &&
48
57
mv ./*.html ./*.webmanifest ./*.js ./*.css ./app &&
49
58
mv app ..
You can’t perform that action at this time.
0 commit comments