Skip to content

Instantly share code, notes, and snippets.

@bezysoftware
Created June 9, 2017 08:34
Show Gist options
  • Select an option

  • Save bezysoftware/e0f82be8d388e72be448d993cb2b5011 to your computer and use it in GitHub Desktop.

Select an option

Save bezysoftware/e0f82be8d388e72be448d993cb2b5011 to your computer and use it in GitHub Desktop.
dependencies:
override:
- npm install -g typescript
- npm --prefix ./functions install ./functions
compile:
override:
- tsc --p ./functions/tsconfig.json --watch false --sourceMap false
test:
override:
- mocha functions/test
deployment:
sandbox:
owner: stepuplabs
branch: master
commands:
- npm install -g firebase-tools
- npm install -g firebase-bolt
- firebase use sandbox
- firebase deploy --token=$FIREBASE_TOKEN --non-interactive
live:
owner: stepuplabs
tag: /v[0-9]+(\.[0-9]+)*/
commands:
- npm install -g firebase-tools
- npm install -g firebase-bolt
- firebase use live
- firebase deploy --token=$FIREBASE_TOKEN --non-interactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment