Setting up Continuous Deployment

We have configured an automated pipeline for testing our repository every time there is a merge into the master branch. It would be great if we could automatically deploy our app after the code is merged into master and when all the tests pass with the recently merged changes. We can do just that with Heroku by configuring it in their web portal. To get started with Continuous Deployment, follow these steps:

  1. First, log in to the Heroku website and go to the Dashboard.
  2. Select your app from the list and go to the project details page.
  3. On this page, click on the Deploy tab.
  4. In the Deployment method section, click on GitHub.
  5. In the Connect to GitHub section, search for your Shopping List repository under your ...

Get Hands-On Full-Stack Development with Swift 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.