Skip to content

Commit d0ce517

Browse files
committed
esse firebase ta de brincadeira com a minha cara
1 parent 2fa0da2 commit d0ce517

File tree

3 files changed

+5
-12
lines changed

3 files changed

+5
-12
lines changed

.github/workflows/firebase-hosting-merge.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,11 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v4
14-
- run: npm ci
14+
- run: "npm ci && npm run build"
1515
- uses: FirebaseExtended/action-hosting-deploy@main
1616
with:
1717
repoToken: ${{ secrets.GITHUB_TOKEN }}
1818
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_FLUTTERGATOPEDIA }}
1919
channelId: live
2020
projectId: fluttergatopedia
2121
target: gatopedia
22-
env:
23-
FIREBASE_CLI_EXPERIMENTS: webframeworks

.github/workflows/firebase-hosting-pull-request.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,10 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v4
16-
- run: npm ci
16+
- run: "npm ci && npm run build"
1717
- uses: FirebaseExtended/action-hosting-deploy@main
1818
with:
1919
repoToken: ${{ secrets.GITHUB_TOKEN }}
2020
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_FLUTTERGATOPEDIA }}
2121
projectId: fluttergatopedia
2222
target: gatopedia
23-
env:
24-
FIREBASE_CLI_EXPERIMENTS: webframeworks

firebase.json

+3-6
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
{
22
"hosting": {
3-
"source": ".",
4-
"site": "gatopedia",
3+
"public": "dist/gatopediaweb",
4+
"site": "",
55
"ignore": [
66
"firebase.json",
77
"**/.*",
88
"**/node_modules/**"
9-
],
10-
"frameworksBackend": {
11-
"region": "us-central1"
12-
}
9+
]
1310
}
1411
}

0 commit comments

Comments
 (0)