Files
angular.js/scripts/code.angularjs.org-firebase/firebase.json
T
Martin Staffa 8b4d85c015 chore(*): deploy (docs|code) .angularjs.org to Firebase via Travis
- code.angularjs.org and docs.angularjs.org are two separate Firebase projects
- both are automatically deployed via Travis config
- Travis is split up into 2 build stages: first, all tests are run, and if they pass, the deploy
stage runs a single job with both deployments (actual deployment depends on the state of the commit)
- docs. is deployed directly to Firebase hosting
- code. is uploaded to Firebase Google Cloud Storage and uses Firebase hosting rewrites to acces the
files
- jenkins builds still push the code builds to the code.angularjs.org Github repository

Closes #9674
Closes #16093
2017-07-14 12:57:55 +02:00

22 lines
348 B
JSON

{
"hosting": {
"public": "public",
"redirects": [
{
"source": "/:version/docs",
"destination": "/:version/docs/index.html",
"type": 301
}
],
"rewrites": [
{
"source": "/**",
"function": "sendStoredFile"
}
]
},
"storage": {
"rules": "storage.rules"
}
}