Skip to content

Instantly share code, notes, and snippets.

@nathanfletcher
Created December 13, 2019 07:26
Show Gist options
  • Save nathanfletcher/7a588f991beb4798c68089506094bd7c to your computer and use it in GitHub Desktop.
Save nathanfletcher/7a588f991beb4798c68089506094bd7c to your computer and use it in GitHub Desktop.
steps:
- id: build
name: 'gcr.io/cloud-builders/npm'
entrypoint: 'bash'
args:
- '-c'
- |
pwd
npm install
cd client
pwd
npm install
npm run build
ls -a
cd ..
pwd
- id: deploy
name: 'gcr.io/cloud-builders/gcloud'
entrypoint: 'bash'
args:
- '-c'
- |
echo Y|gcloud app deploy app.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment