Skip to content
Videos
Video

Deploy Flutter Web Like a Pro – Part 2: Deploying to and S3 Bucket

by Tyler Codes youtube.com

21 min 673 views

Let's take what we learned about base-href and apply it to uploading our build files to an s3 bucket + pointing our domain here. Consider this a proof of concept for part 3, when we turn this script into a Github action. Coming up in this series: - Part 3: Cloudflare Caching + Automating deploys with GitHub Actions - Part 4: Notifying users of new releases + advanced routing 👇 Links: Inspired by: https://lukasnevosad.medium.com/our-flutter-web-strategy-for-deferred-loading-instant-updates-happy-users-45ed90a7727c Updated Build/Deploy Script: https://github.com/tylersavery/flutter_web_deploy/blob/main/deploy.sh Bucket policy example: https://gist.github.com/jookyboi/5234398 CORS policy example: https://gist.github.com/abdulawal39/5a0ffb27e36efe4f567022ad243c50bf 💬 Got questions or want to see another variation of this setup? Drop a comment below!

Forum

Questions about this, or something to add?

Discuss on the forum

Topics Flutter for the web

Report this · Wrote this? Claim it

Supported by