Skip to content

Commit

Permalink
Removed web build
Browse files Browse the repository at this point in the history
  • Loading branch information
prijindal committed May 1, 2024
1 parent 63040b8 commit e19f09f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/flutter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,18 +108,18 @@ jobs:
- run: flutterfire configure -y --platforms=web --ios-bundle-id=com.prijindal.habbit-tracker --macos-bundle-id=com.prijindal.habbit-tracker --web-app-id=1:739292996360:web:5c24f4c3b47c73559e82bd --android-package-name=com.prijindal.habbit_tracker --windows-app-id=1:739292996360:web:5c24f4c3b47c73559e82bd
env:
GOOGLE_APPLICATION_CREDENTIALS: google-application-credentials.json
- run: flutter build web --release
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_HABBIT_TRACKER_PRIJINDAL }}'
channelId: live
projectId: habbit-tracker-prijindal
- uses: actions/upload-artifact@v3
with:
name: web
path: build/web
retention-days: 1
# - run: flutter build web --release
# - uses: FirebaseExtended/action-hosting-deploy@v0
# with:
# repoToken: '${{ secrets.GITHUB_TOKEN }}'
# firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_HABBIT_TRACKER_PRIJINDAL }}'
# channelId: live
# projectId: habbit-tracker-prijindal
# - uses: actions/upload-artifact@v3
# with:
# name: web
# path: build/web
# retention-days: 1
- run: flutter build linux --release
- uses: actions/upload-artifact@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion lib/firebase_options.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File generated by FlutterFire CLI.
// ignore_for_file: lines_longer_than_80_chars, avoid_classes_with_only_static_members
// ignore_for_file: type=lint
import 'package:firebase_core/firebase_core.dart' show FirebaseOptions;
import 'package:flutter/foundation.dart' show defaultTargetPlatform;

Expand Down

0 comments on commit e19f09f

Please sign in to comment.