Action to push latest changes to server via SSH?

Hi,

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.

Thanks!

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. https://github.com/SamKirkland/FTP-Deploy-Action/issues

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.