Created
May 7, 2019 18:36
-
-
Save andresmijares/e0c8741e0ff347f36d0dd6095ab862c2 to your computer and use it in GitHub Desktop.
clod build sample
This file contains 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
steps: | |
- name: 'gcr.io/$PROJECT_ID/firebase' | |
args: [ 'use', '$_PROJECT_NAME'] | |
secretEnv: ['FIREBASE_TOKEN'] | |
- name: 'gcr.io/cloud-builders/npm' | |
dir: 'functions' | |
args: ['install'] | |
- name: 'gcr.io/$PROJECT_ID/firebase' | |
args: [ 'deploy', '--only', 'functions'] | |
secretEnv: ['FIREBASE_TOKEN'] | |
secrets: | |
- kmsKeyName: 'projects/YOUR_PROJECT_NAME/locations/global/keyRings/YOUR_RING_NAME/cryptoKeys/YOUR_KEY_NAME' | |
secretEnv: | |
FIREBASE_TOKEN: <YOUR KEY GOES HERE> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment