I’m not much of a shell scripter and was hoping to see if anyone else is deploying via github actions and if they are willing to share what that looks like.
My current issue is that I believe I’m trying to start the new release before the prior stop has completed and it ends up failing to start the new release.
Should I have some type of condition here that checks for a PID?
Not a direct solution to your problem, but I am using Ansible in conjunction with Github actions and it has worked great. Ansible will handle a lot of the heavy lifting for you, and it’s DSL is very close to GH actions anyway. I posted the Ansible playbook here. And here’s the example GH action.