A simple monorepo to manage the deployment of multiple Flutter web apps with GitHub Pages.
Read the full tutorial on my site:
Feel free to fork this repo and use it for your own apps.
All the commands can be run with make
using the Makefile
inside apps
.
Note: don't forget to change the
GITHUB_USER
in the Makefile.
Preparation steps:
- Create a new repository
- Call it
<app_name>
whereapp_name
is one of the folders insideapps
Build and push:
make deploy NAME=<app_name>
Preview on GitHub Pages:
- Go to Settings -> Pages, choose the
main
branch, deploy from/ (root)
, and save
make zip NAME=<app_name>
make dev NAME=<app_name>