Skip to content

Instantly share code, notes, and snippets.

@lewang
Created May 9, 2017 21:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lewang/f6d699cc4029bb26b3c101bb6c460ab8 to your computer and use it in GitHub Desktop.
Save lewang/f6d699cc4029bb26b3c101bb6c460ab8 to your computer and use it in GitHub Desktop.
version: 2
jobs:
build:
docker:
- image: finanzcheck/docker-node-java
working_directory: ~/starfish
steps:
- checkout
- run:
name: Install Dependencies
command: npm install
- run:
name: NPM Test
command: npm test
deploy:
docker:
- image: srinivasanramaraju/logistics-image
working_directory: ~/starfish
steps:
- checkout
- deploy:
name: Deploy Nothing!
command: npm run workflow-deploy
workflows:
version: 2
build_and_deploy:
jobs:
- build
- deploy:
requires:
- build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment