🔥 Firebase Hosting

This commit is contained in:
Liyas Thomas
2019-10-03 15:16:39 +05:30
parent fe1034ce1a
commit c54b019d55
13 changed files with 2032 additions and 11 deletions

View File

@@ -27,18 +27,12 @@ branches:
- "master"
install:
- "npm install firebase-tools"
- "npm install"
- "npm run generate"
notifications:
webhooks: https://www.travisbuddy.com
deploy:
provider: pages
skip-cleanup: true
# Refer to: https://docs.travis-ci.com/user/deployment/pages/#Setting-the-GitHub-token
github-token: $GITHUB_ACCESS_TOKEN
target-branch: gh-pages
local-dir: dist
on:
branch: master
after_success:
- firebase deploy --token $FIREBASE_TOKEN