Action to push latest changes to server via SSH?


I’m looking for Action to do the above.

Preferably only upload/delete the modified files. Action like FTP-Deploy seems to re-upload every single file on push.

Also it shouldn’t delete any untracked files in the folder like what ssh-deploy does.


Hi @hrsetyono,
As these two actions are not published by GitHub Staff, I would encourage you to create an issue directly in the action repo.

We use ssh action to execute a script on our server to fetch the latest code:

There is an action for setup ssh . Then you could use git command in a run script step to push the changes to your server.