3 ms·
I have a similar deploy.sh script for my go projects, with a slight twist: I compile my Go projects to a binary on a github action, scp it to the server, ssh i
by anonyfox 3y ago
I have a similar deploy.sh script for my go projects, with a slight twist:
I compile my Go projects to a binary on a github action, scp it to the server, ssh into it and restart - all done in my deploy.sh and the GHA itself only installs Go and deps (its cached) and then calls that deploy.sh script which sits right in the repo itself.
Super happy with it. Speaking as a previous DevOps guy that got sick of AWS complexities.