Skip to content

update branch

update branch #1

name: Build and Deploy Flutter Web to GitHub Pages
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Setup Flutter
uses: subosito/flutter-action@v1
with:
flutter-version: '2.x'
- name: Install Dependencies
run: flutter pub get
- name: Build Web
run: flutter build web --release --base-href /inx/inner_breeze/
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build/web