|
|
|
|
|
by scottydelta
277 days ago
|
|
I understand what you are trying to do but you should checkout dokploy or coolify. You push to github, github action builds it and hits dokploy webhook and it pulls your github code and build and deploy on that server. This is more reliable and industry way. What you are doing requires same amount of time to deploy and requires manual intervention every time. For once i thought you were moving code to server and then you just restarted container and it worked without having to build. I have done it in the past due to some unique requirements where dependencies are in docker image and code is copied from local to server and docker image took code from server on start. |
|
Additionally there are a million different and better ways to deploy services, this suits the use case I described.