Skip to content

Automates the build and deployment of your Flutter web app on Github gh pages

License

Notifications You must be signed in to change notification settings

JELaVallee/flutter-gh-pages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Flutter GH Pages

Automates the build and deployment of your Flutter web app on Github gh pages

Action

To use this action, create an action like the following on your workflows folder

name: Gh-Pages

on:
  push:
    branches: [ master ]

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2
      - uses: subosito/flutter-action@v1
        with:
          channel: 'beta'
      - uses: erickzanardo/flutter-gh-pages@v1

To make the build using canvas kit, use the useCanvasKit property

      ...
      - uses: erickzanardo/flutter-gh-pages@v1.1
        with:
          useCanvasKit: true

To make the build use a different PWA caching strategy ('offline-first' or 'none'), use the pwdCachingStrategy property

      ...
      - uses: erickzanardo/flutter-gh-pages@v1.1
        with:
          pwaCachingStrategy: 'none'

About

Automates the build and deployment of your Flutter web app on Github gh pages

Resources

License

Stars

Watchers

Forks

Packages

No packages published