Skip to content

chore: upgrade flutter to v3.22.2 #16

chore: upgrade flutter to v3.22.2

chore: upgrade flutter to v3.22.2 #16

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
paths:
- '*'
- '.github/workflows/gh-pages.yml'
- 'assets/**'
- 'lib/**'
- 'web/**'
- '!**/*.md'
branches:
- main
jobs:
build-and-deploy:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Flutter environment
uses: subosito/flutter-action@v2
with:
cache: true
- name: Build Web
run: flutter build web --base-href /flutter-samples/
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build/web