How to automatically deploy code from bitbucket on ubuntu server with nginx, gunicorn/Django already working on it?

July 12, 2017 538 views
Nginx Deployment DigitalOcean Django Git Ubuntu 16.04

I am having a ubuntu server droplet that uses nginx for routing and gunicorn for django app. We have hosted frontend website using nginx and those are having differnet git repositries on bitbucket. So how can I automate the task of deployement of these frontend websites, so that after every push or pr code get automatically deployed on their respective branches.

1 Answer
Have another answer? Share your knowledge.