Our config YML script now has a deploy jobs section and we have updated our workflows field like this:
...deploy: docker: - image: buildpack-deps:trusty steps: - checkout - run: name: Deploy Master to Heroku command: | git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKU_APP_NAME.git masterworkflows: version: 2 build_integration_and_deploy: jobs: - build - integration: requires: - build - deploy: requires: -integration
The workflow for this change will look different now, as we have set up a sequential pipeline for the jobs:
In the preceding screenshot the build job ran first and then ...