diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index f5aa107..34ae74e 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -45,6 +45,14 @@ jobs: - name: Install dependencies run: flutter pub get + + # Create the _redirects file for Netlify + - name: Create _redirects file for Netlify + run: | + mkdir -p build/web + echo "/* /index.html 200" > build/web/_redirects + + - name: Build Flutter web run: flutter build web --release