Skip to content

Commit

Permalink
Update firebase-hosting-merge.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
luedu1103 authored Aug 22, 2024
1 parent 729c7ef commit d556cbc
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,32 @@ on:
branches:
- main
jobs:
build_and_deploy:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: 📚 Git Checkout
uses: actions/checkout@v4

- name: 🐦 Setup Flutter
uses: subosito/flutter-action@v2
with:
channel: "stable"
flutter-version: 3.24.0

- name: 📦 Install Dependencies
run: flutter pub get

- name: 🛠️ Build the application
run: flutter build web -t lib/main_production.dart

- name: ⬇️ Archive Production Artifact
uses: actions/upload-artifact@v2
with:
name: web-build
path: build/web

deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit d556cbc

Please sign in to comment.