Skip to content

Commit

Permalink
Set up CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilya Amursky committed Nov 17, 2023
1 parent fb36c05 commit 4dc038f
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 16 deletions.
7 changes: 3 additions & 4 deletions .env
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
GOOGLE_ANALYTICS_GTAG=""
GOOGLE_CLIENT_ID=""
GOOGLE_CLIENT_SECRET=""
NEXT_PUBLIC_ORIGIN="http://localhost:3000"
NEXT_PUBLIC_GOOGLE_ANALYTICS_MEASUREMENT_ID="G-ZHKH2DEHPJ"
NEXT_PUBLIC_GOOGLE_CLIENT_ID="885172774292-mr0ksr1fcncg32o606uet5nrmchajtrd.apps.googleusercontent.com"
NEXT_PUBLIC_GOOGLE_CLIENT_SECRET="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"
4 changes: 0 additions & 4 deletions .env.production

This file was deleted.

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
.DS_Store
*.tsbuildinfo
/.firebase/
/.next/
/node_modules/
firebase-debug.log
next-env.d.ts
pnpm-debug.log*
service-account-key.json
11 changes: 5 additions & 6 deletions firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@
},
"hosting": {
"source": ".",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
"frameworksBackend": {
"region": "us-central1"
"region": "us-central1",
"minInstances": 0,
"maxInstances": 5,
"memory": "256MiB"
}
},
"storage": {
Expand Down
2 changes: 2 additions & 0 deletions firestore.rules
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
rules_version = '2';

service cloud.firestore {
match /databases/{database}/documents {
match /{document=**} {
Expand Down
5 changes: 3 additions & 2 deletions lib/firebase/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ import { initializeApp } from "firebase/app";

export const firebase = initializeApp({
apiKey: "AIzaSyAsdCy9Qf8udvEN9tl16V_dRRGNOEFlVac",
appId: "1:885172774292:web:4a29dae37709dc0de05b81",
authDomain: "outgoing-sneaky-quill.firebaseapp.com",
measurementId: "G-ZHKH2DEHPJ",
messagingSenderId: "885172774292",
projectId: "outgoing-sneaky-quill",
storageBucket: "outgoing-sneaky-quill.appspot.com",
messagingSenderId: "885172774292",
appId: "1:885172774292:web:4a29dae37709dc0de05b81",
});

0 comments on commit 4dc038f

Please sign in to comment.