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

Multiple SH Files are showing on server

Open webbyus opened this issue 2 years ago • 5 comments

@easingthemes @sebastianblesgen I added SCRIPT_BEFORE: | , SCRIPT_AFTER to my YAML file,I can see multiple temp .sh files are in there . How could I clear those things ?

temp.png

webbyus avatar Oct 08 '23 02:10 webbyus

This was introduced in latest release to fix https://github.com/easingthemes/ssh-deploy/issues/164 - enabling usage of the action multiple times. Now we need update to remove temp files once script is executed.

easingthemes avatar Oct 12 '23 19:10 easingthemes

I am using ubuntu and added a command to SCRIPT_AFTER to find files that match the name and delete them. Note that in SCRIPT_AFTER I navigate to the folder where the files are located before running this line.

find ./ -name "local_ssh_script-before*" | xargs rm

Run the command without | xargs rm through the terminal just to be sure that it's in the correct directory and finding the files.

nickfera avatar Oct 19 '23 13:10 nickfera

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 Nov 19 '23 01:11 github-actions[bot]

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 May 07 '24 01:05 github-actions[bot]

Should be fixed with latest release https://github.com/easingthemes/ssh-deploy/pull/184

easingthemes avatar Jul 24 '24 16:07 easingthemes