Created
August 1, 2016 04:55
-
-
Save rohanBagchi/a1345d5449f5c98facc9fdbe515030d0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Official framework image. Look for the different tagged releases at: | |
# https://hub.docker.com/r/library/node/tags/ | |
image: node:latest | |
before_script: | |
- npm prune | |
- npm install | |
- npm install -g grunt-cli | |
- npm install -g firebase-tools | |
stages: | |
- deploy | |
cache: | |
paths: | |
- node_modules/ | |
key: "$CI_BUILD_REPO" | |
deploy_to_firebase: | |
stage: deploy | |
only: | |
- master | |
script: | |
- grunt all | |
- firebase deploy --token $FIREBASE_DEPLOY_KEY |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment