Freezed #54
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/[email protected] | |
- uses: subosito/[email protected] | |
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/[email protected] | |
with: | |
github_token: "${{ secrets.GITHUB_TOKEN }}" | |
publish_dir: ./build/web |