Skip to content

Instantly share code, notes, and snippets.

@felixklauke
Created December 22, 2018 11:29
Show Gist options
  • Save felixklauke/7929fa00443020a329a2471cee94ca16 to your computer and use it in GitHub Desktop.
Save felixklauke/7929fa00443020a329a2471cee94ca16 to your computer and use it in GitHub Desktop.
steps:
# Install node packages
- name: 'gcr.io/cloud-builders/npm'
args: [ 'install' ]
# Build productive files
- name: 'gcr.io/cloud-builders/npm'
args: [ 'run', 'build', '--prod' ]
# Deploy to google cloud app egnine
- name: 'gcr.io/cloud-builders/gcloud'
args: ['app', 'deploy', '--version=prod']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment