How to automatically deploy code from bitbucket on ubuntu server with nginx, gunicorn/Django already working on it?
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.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.