version: 2 workflows: # Define a Workflow running the build job, then the deploy job version: 2 build-deploy: jobs: - build - deploy: requires: - build filters: branches: only: master # Only deploys when the commit is on the Master branch jobs: build: machine: true steps: - checkout - run: | bash bin/run-tests-with-docker.sh # https://github.com/circleci/circleci-docs/blob/master/jekyll/_cci1/continuous-deployment-with-heroku.md deploy: machine: image: ubuntu-2004:current docker_layer_caching: true steps: - checkout - run: | echo Deploys are happening on my home Jenkins server echo this is a placeholder in case I want to move that cat >~/.netrc <