diff --git a/.firebaserc b/.firebaserc new file mode 100644 index 00000000..2d8ff3aa --- /dev/null +++ b/.firebaserc @@ -0,0 +1,5 @@ +{ + "projects": { + "default": "deprem-destek-org" + } +} diff --git a/.github/workflows/deploy-prod.yml b/.github/workflows/deploy-prod.yml index 73932b40..2ce8bec1 100644 --- a/.github/workflows/deploy-prod.yml +++ b/.github/workflows/deploy-prod.yml @@ -18,6 +18,7 @@ jobs: - run: flutter pub get - run: flutter pub run build_runner build --delete-conflicting-outputs - run: flutter analyze + - run: dart format . --set-exit-if-changed build_web: name: Build Flutter (Web) needs: test diff --git a/firebase.json b/firebase.json new file mode 100644 index 00000000..37216d4f --- /dev/null +++ b/firebase.json @@ -0,0 +1,16 @@ +{ + "hosting": { + "public": "build/web/", + "ignore": [ + "firebase.json", + "**/.*", + "**/node_modules/**" + ], + "rewrites": [ + { + "source": "**", + "destination": "/index.html" + } + ] + } +}