Multiple SH Files are showing on server
@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 ?
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.
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.
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.
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.
Should be fixed with latest release https://github.com/easingthemes/ssh-deploy/pull/184
