Added firebase

This commit is contained in:
2019-04-21 16:59:20 -04:00
parent 214b590e8b
commit a0951f8242
13 changed files with 2420 additions and 186 deletions

View File

@ -26,7 +26,7 @@ jobs:
- run:
name: Build
command: yarn build -c ${CIRCLE_BRANCH}
command: yarn build
- persist_to_workspace:
root: ./
@ -38,7 +38,7 @@ jobs:
deploy:
docker:
- image: google/cloud-sdk:latest
- image: circleci/node:10.4-browsers
working_directory: ~/repo
@ -48,15 +48,9 @@ jobs:
- attach_workspace:
at: ./
- run:
name: Authenticate GCP
command: |
echo $GCLOUD_SERVICE_KEY > key.json
gcloud auth activate-service-account --key-file key.json
- run:
name: Deploy
command: gsutil cp -r dist/ZaksCode/* gs://www.zakscode.com
command: yarn firebase deploy --token "${FIREBASE_TOKEN}"
workflows:
version: 2