diff --git a/.github/workflows/flutter.yml b/.github/workflows/flutter.yml index ae58908..90cb3f9 100644 --- a/.github/workflows/flutter.yml +++ b/.github/workflows/flutter.yml @@ -18,4 +18,10 @@ jobs: - run: flutter --version - run: flutter doctor - run: flutter pub get - - run: flutter build web \ No newline at end of file + - run: flutter build web --base-href "/flutter_application_odd_one_out/" + - name: Deploy + uses: peaceiris/actions-gh-pages@v4 + if: github.ref == 'refs/heads/main' + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./build/web