webpub2
All checks were successful
/ build-web (push) Successful in 4m6s

This commit is contained in:
zeyus 2025-07-23 00:10:44 +02:00
parent a931a6aa4c
commit 170b38f051
Signed by: zeyus
GPG key ID: A836639BA719C614

View file

@ -7,6 +7,8 @@ jobs:
build-web:
# custom runner image -> includes node and latest flutter stable
runs-on: flutter-web-builder
volumes:
- /webpub:/webpub
steps:
- name: Checkout code
uses: actions/checkout@v4
@ -39,6 +41,14 @@ jobs:
- name: Build web
run: flutter build web --wasm --release --base-href /shitman/
- name: Empty webpub mount
run: |
if [ -d /webpub ]; then
rm -rf /webpub/*
else
echo "No /webpub mount found, skipping empty."
fi
# if the /webpub mount exists, copy the build output there
- name: Copy build output to /webpub
run: |