GitHub self-hosted runner for other branches are not pulling the latest changes
I have the following YAML file. On every push to the branch, it should pull the latest code, build, and restart the service. It is running successfully on every push but when I SSH into the server, the changes are not pulled. When I run git pull origin dev
, only then the changes are pulled. I have the similar YAML for another repository in the same organization for the frontend, and it is working fine for that.