Yield generated for 963c8bc3-2009-4a0c-8512-3200a5d9f2b0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

36 lines
784 B

workflows:
version: 2
my_workflow:
jobs:
- build
- netlify_deploy:
requires:
- build
version: 2
jobs:
build: &shared-config
docker:
- image: circleci/node:lts-fermium
working_directory: ~/repo
steps:
- checkout
- restore_cache:
keys:
- dependencies-{{ checksum "package.json" }}-v1
- dependencies-
- run: yarn install
- save_cache:
paths:
- node_modules
key: dependencies-{{ checksum "package.json" }}-v1
netlify_deploy:
docker:
- image: buildpack-deps:trusty
steps:
- checkout
- run:
name: Netlify Deploy
command: netlify deploy --site $NETLIFY_SITE_ID