Autodeploy to Heroku

We prepared everything, so our production pipeline to Heroku is triggered by a push to our remote Git repository. So we will only do one thing and then sit and watch.

Push the changes to GitLab:

Terminal
git push origin master

Now you can visit CI/CD → Pipeline on your GitLab project page to see the pipelines running. After that check out Activity on your Heroku app page to see the build process.

If everything worked out, you should see the Django placeholer page when you click the Open app button on Heroku or visit your project url directly.

It is live!

Congratulations! You successfully deployed your Django app via GitLab to Heroku.

Now you can work on your project and quickly ship new features — deployment won’t be holding you back.

results matching ""

    No results matching ""