CI/CD pipeline for Digital Ocean VPS/Droplet

Hi, I have my own droplet on Digital ocean that serves as my portfolio/personal website. I have the source code hosted at my account.

I would like to make a CI-CD pipeline on Azure DevOps, that builds the codebase on Azure (CI) upon a local “git push” command. If successfully built, then it creates a release in the CD pipeline and deploys the code to my website server here on Digital ocean. Thus, I would not need to use the linux SCP commands to transfer my local code to the server anymore with this automated pipeline.

Can anyone point me in the right direction to complete this? any articles are tips? I won’t be deploying any .jar files or anything, its mostly a static HTML/CSS website, so I just want that to get built and deployed to my website server after I run a “git push” command locally in my terminal or IDE…

Can anyone help?

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

I just came across your question and figured I just finished up reading which this Deploying from Azure DevOps to DigialOcean which was quite helpful.

Several months late :-/ HTH

Now I’m curious about database deployments for MariaDB/MySQL, PostgreSQL and such.

Many IDEs have this sort of thing already figure out. What IDE are you using?

I’ve never tried it my self, but both PhpStorm and WebStorm (for example) have a deployment section in their settings. Are you able to build locally or do you explicitly need a CI?