Build the Recursive Routing Experiment using Flutter Web #8
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: Build the Recursive Routing Experiment using Flutter Web | |
on: | |
# Trigger the workflow manually | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
defaults: | |
run: | |
working-directory: ./recursive_routing | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Flutter SDK | |
uses: flutter-actions/setup-flutter@v2 | |
with: | |
channel: stable | |
version: 3.24.4 | |
- name: Clean | |
run: flutter clean | |
- name: Pub Get | |
run: flutter pub get | |
- name: Build | |
run: flutter build web --base-href "/recursive_routing/" | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v4 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./recursive_routing/build/web | |
destination_dir: recursive_routing |