Skip to content

Build the Recursive Routing Experiment using Flutter Web #8

Build the Recursive Routing Experiment using Flutter Web

Build the Recursive Routing Experiment using Flutter Web #8

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