Skip to content

Merge pull request #1 from Jamalianpour/main #2

Merge pull request #1 from Jamalianpour/main

Merge pull request #1 from Jamalianpour/main #2

Workflow file for this run

name: Build and Deploy Flutter Web
on:
push:
branches:
- release
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
channel: stable
flutter-version: 3.22.3
- name: Install dependencies
run: flutter pub get
- name: Build web
run: flutter build web --base-href "/open-dev/" --release
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build/web