Skip to content

Merge pull request #39 from koji-1009/chore/actions #20

Merge pull request #39 from koji-1009/chore/actions

Merge pull request #39 from koji-1009/chore/actions #20

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
cache: true
- run: flutter pub get
working-directory: example
- run: flutter build web --base-href "/taro/"
working-directory: example
- uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./example/build/web