Fix snackbar duration #70
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: github pages | |
on: | |
push: | |
branches: | |
- main | |
- 3.0 | |
jobs: | |
pages: | |
name: "Deploy on Github Pages" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4.1.1 | |
- uses: subosito/flutter-action@v2.12.0 | |
with: | |
channel: stable | |
- name: Install dependencies | |
run: flutter pub get | |
- name: Install intl utils | |
run: dart pub global activate intl_utils | |
- name: Generate localization | |
run: dart pub global run intl_utils:generate | |
- name: Code generation | |
run: dart run build_runner build -d | |
- name: Build | |
run: flutter build web | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3.9.3 | |
with: | |
github_token: "${{ secrets.GITHUB_TOKEN }}" | |
publish_dir: ./build/web |