- update for statging release, pre-checks

This commit is contained in:
Amruth Pillai 2020-07-13 16:38:08 +05:30
parent 591c9a6ccf
commit cf5d0b9571
6 changed files with 23 additions and 760 deletions

View File

@ -1,5 +1,14 @@
{
"projects": {
"default": "rx-resume"
},
"targets": {
"rx-resume": {
"hosting": {
"rxresume-staging": [
"rxresume-staging"
]
}
}
}
}
}

4
.gitignore vendored
View File

@ -58,6 +58,9 @@ typings/
.cache/
public
# Firebase Files
.firebase
# Mac files
.DS_Store
@ -65,5 +68,6 @@ public
yarn-error.log
.pnp/
.pnp.js
# Yarn Integrity file
.yarn-integrity

View File

@ -1,5 +1,6 @@
{
"hosting": {
"hosting": [{
"target": "rxresume-staging",
"public": "public",
"ignore": [
"**/.*",
@ -20,7 +21,7 @@
"destination": "/index.html"
}
]
},
}],
"emulators": {
"functions": {
"port": 5001
@ -33,9 +34,6 @@
}
},
"functions": {
"predeploy": [
"npm --prefix \"$RESOURCE_DIR\" run lint"
],
"source": "functions"
}
}

File diff suppressed because it is too large Load Diff

View File

@ -13,6 +13,7 @@
},
"dependencies": {
"cors": "^2.8.5",
"firebase-admin": "^8.13.0",
"firebase-functions": "^3.7.0",
"puppeteer": "^5.1.0"
},

View File

@ -11,7 +11,7 @@ const ExportModal = () => {
const [open, setOpen] = useState(false);
const [isLoadingSingle, setLoadingSingle] = useState(false);
const [isLoadingMulti, setLoadingMulti] = useState(false);
const functionsUrl = 'http://localhost:5001/rx-resume/us-central1';
const functionsUrl = 'https://rxresume-staging.web.app';
const { emitter, events } = useContext(ModalContext);