Updated workflows section and config YML script

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 ...

Get Hands-On Continuous Integration and Delivery now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.