Skip to content

Commit 42a3c0d

Browse files
committed
TRY: WASM Netlify build
1 parent ba71800 commit 42a3c0d

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

.github/workflows/deploy_playground_netlify.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
name: "Analyze and test package, then build and deploy Playground only"
2424
runs-on: ubuntu-latest
2525
steps:
26-
- uses: actions/checkout@v3
26+
- uses: actions/checkout@v4
2727
- name: Install Flutter and Dart SDK
2828
uses: subosito/flutter-action@v2
2929
with:
@@ -45,7 +45,7 @@ jobs:
4545
- name: "Themes playground START BUILD - Flutter clean before build"
4646
run: flutter clean && cd example && flutter clean
4747
- name: "Themes playground WEB WASM-GC release build"
48-
run: cd example && flutter build web --wasm --release --base-href "/themesplayground/" -t lib/example5_themes_playground/main.dart
48+
run: cd example && flutter build web --wasm --release -t lib/example5_themes_playground/main.dart
4949
- name: Deploy to Netlify
5050
uses: nwtgck/[email protected]
5151
with:

example/netlify.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[[headers]]
2+
for = "/*"
3+
[headers.values]
4+
Cross-Origin-Embedder-Policy = "require-corp"
5+
Cross-Origin-Opener-Policy = "same-origin"

netlify.toml

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)