A
A
Andrew2020-03-11 03:05:36
Software Deployment
Andrew, 2020-03-11 03:05:36

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

1 answer(s)
A
Andrey, 2020-03-11
@AndrewRusinas

With this more or less figured out, there is a good lesson .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question