deploy_web #14
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: deploy_web | |
on: | |
workflow_dispatch: | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install and set Flutter version | |
uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: '3.x' | |
channel: 'stable' | |
- name: Flutter Doctor | |
run: flutter doctor | |
- name: Install project dependencies | |
run: sh scripts/pub_get_all.sh | |
- name: Download drift files for web | |
run: sh scripts/download_drift_for_web.sh | |
- name: Localizations | |
run: sh scripts/generate_translate_file.sh | |
- name: Build Runner | |
run: sh scripts/build_runner.sh | |
- name: Deploy web | |
uses: bluefireteam/flutter-gh-pages@v7 | |
with: | |
baseHref: /Experiments-flutter/ |