forked from deckgo/deckdeckgo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add Firebase configuration to GitHub and fix docs CI artifact path
- Loading branch information
1 parent
695e7b6
commit 4d6e8b6
Showing
10 changed files
with
128 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,8 +29,6 @@ UserInterfaceState.xcuserstate | |
lib/ | ||
|
||
.firebase/ | ||
firebase.json | ||
.firebaserc | ||
|
||
.terraform | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"projects": { | ||
"default": "deckdeckgo-studio-prod", | ||
"staging": "deckdeckgo-studio-beta" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"functions": { | ||
"predeploy": [ | ||
"npm --prefix \"$RESOURCE_DIR\" run lint", | ||
"npm --prefix \"$RESOURCE_DIR\" run build" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"projects": { | ||
"default": "deckdeckgo-docs" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"hosting": { | ||
"public": "www", | ||
"ignore": [ | ||
"firebase.json", | ||
"**/.*", | ||
"**/node_modules/**" | ||
], | ||
"rewrites": [ | ||
{ | ||
"source": "**", | ||
"destination": "/index.html" | ||
} | ||
], | ||
"headers": [{ | ||
"source" : "sw.js", | ||
"headers" : [{ | ||
"key" : "Cache-Control", | ||
"value" : "public,max-age=0,must-revalidate" | ||
}] | ||
},{ | ||
"source" : "/", | ||
"headers" : [{ | ||
"key" : "Cache-Control", | ||
"value" : "public,max-age=0,must-revalidate" | ||
}] | ||
}] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"projects": { | ||
"default": "deckdeckgo-app", | ||
"staging": "deckdeckgo-app-beta" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"hosting": { | ||
"public": "www", | ||
"ignore": [ | ||
"firebase.json", | ||
"**/.*", | ||
"**/node_modules/**" | ||
], | ||
"rewrites": [ | ||
{ | ||
"source": "**", | ||
"destination": "/index.html" | ||
} | ||
], | ||
"headers": [{ | ||
"source" : "sw.js", | ||
"headers" : [{ | ||
"key" : "Cache-Control", | ||
"value" : "public,max-age=0,must-revalidate" | ||
}] | ||
},{ | ||
"source" : "/", | ||
"headers" : [{ | ||
"key" : "Cache-Control", | ||
"value" : "public,max-age=0,must-revalidate" | ||
}] | ||
}] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"projects": { | ||
"default": "deckdeckgo-studio-prod", | ||
"staging": "deckdeckgo-studio-beta" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"hosting": { | ||
"public": "www", | ||
"ignore": [ | ||
"firebase.json", | ||
"**/.*", | ||
"**/node_modules/**" | ||
], | ||
"rewrites": [ | ||
{ | ||
"source": "**", | ||
"destination": "/index.html" | ||
} | ||
], | ||
"headers": [{ | ||
"source" : "sw.js", | ||
"headers" : [{ | ||
"key" : "Cache-Control", | ||
"value" : "public,max-age=0,must-revalidate" | ||
}] | ||
},{ | ||
"source" : "/", | ||
"headers" : [{ | ||
"key" : "Cache-Control", | ||
"value" : "public,max-age=0,must-revalidate" | ||
}] | ||
}, | ||
{ | ||
"source": "assets/icons/**/*", | ||
"headers": [ | ||
{ | ||
"key": "Access-Control-Allow-Origin", | ||
"value": "*" | ||
} | ||
] | ||
}] | ||
} | ||
} |