ssh-deploy icon indicating copy to clipboard operation
ssh-deploy copied to clipboard

set root as SOURCE

Open entin-hun opened this issue 1 year ago • 3 comments

Hi, The job runs for me successfully, meaning it wiped all the files on my VPS. I dont have a /dist folder (or should somehow built node.js code be there?), rather it should mirror the files and folders in the repo root. SOURCE: "./" haven't solved it, how should it be done?

entin-hun avatar Jul 06 '24 15:07 entin-hun

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Oct 05 '24 02:10 github-actions[bot]

Hello @entin-hun , have you tried to use SOURCE: "/" instead SOURCE: "./"?.

I'm currently using the 5.1.1 and I'm able to copy the entire root folder over ssh with /

Palaxx avatar Oct 09 '24 06:10 Palaxx

I have the same issue, but I just realized the README says

This GitHub Action deploys specific directory from GITHUB_WORKSPACE to a folder on a server via rsync over ssh

I have tried @Palaxx's solution with no luck. I suppose I should use ssh + git instead.

Maybe the "specific directory" part of the README could be bolded? For people like me who don't read it carefully :)

cudillal avatar Oct 10 '24 10:10 cudillal

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Jan 09 '25 02:01 github-actions[bot]