Answer the question
In order to leave comments, you need to log in
How to setup github actions for digital ocean?
For the first time I set up CI / CD, I was wildly delighted when all the necessary actions (build, deploy) were completed in Github Actions. But the joy quickly disappeared when I realized that this had little to do with a real server and there could be no magic here.
Case: there is a repo, you need to build the client, then rebuild the docker container. Standard.
I don’t understand: how, after the completed GH Actions, is it all sent to the droplet (I already found information about scp-action, but questions remain), and how can I rebuild the container directly on the droplet after that? After all, if I understand correctly, there is absolutely no point in running docker-compose inside Github Actions.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question