Skip to content

Commit

Permalink
added firebase as a deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
sumn2u committed Sep 8, 2019
1 parent aed0247 commit 245fbe5
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"projects": {
"default": "bagh-chal-dd292"
}
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package-lock.json
/dist/
/.idea/
.idea/
.firebase
.idea
.DS_Store
# Logs
Expand Down
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
language: node_js
node_js:
- "node"
script:
- npm install
- npm run build
deploy:
provider: firebase
token:
secure: $FIREBASE_CI_TOKEN
16 changes: 16 additions & 0 deletions firebase.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"hosting": {
"public": "dist",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
}

0 comments on commit 245fbe5

Please sign in to comment.