This commit is contained in:
parent
777acbc773
commit
a931a6aa4c
1 changed files with 10 additions and 1 deletions
|
@ -37,7 +37,16 @@ jobs:
|
|||
run: flutter pub get
|
||||
|
||||
- name: Build web
|
||||
run: flutter build web --wasm --release
|
||||
run: flutter build web --wasm --release --base-href /shitman/
|
||||
|
||||
# if the /webpub mount exists, copy the build output there
|
||||
- name: Copy build output to /webpub
|
||||
run: |
|
||||
if [ -d /webpub ]; then
|
||||
cp -r build/web/* /webpub/
|
||||
else
|
||||
echo "No /webpub mount found, skipping copy."
|
||||
fi
|
||||
|
||||
- name: List build output
|
||||
run: ls -la build/web/
|
||||
|
|
Loading…
Add table
Reference in a new issue