Check out using commit hash instead of using branch name on the deployment host
This commit changes the git switch
code that does the checkout of the correct code on the deployment host. Previously this was done using the branch name, but that meant that rerunning an old CI/CD job didn't deploy the code at that point in time, but would still deploy the current development
or main
branch.
This fixes #5 (closed).