Skip to content

Instantly share code, notes, and snippets.

@rohanBagchi
Created August 1, 2016 04:55
Show Gist options
  • Save rohanBagchi/a1345d5449f5c98facc9fdbe515030d0 to your computer and use it in GitHub Desktop.
Save rohanBagchi/a1345d5449f5c98facc9fdbe515030d0 to your computer and use it in GitHub Desktop.
# 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