You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run SamKirkland/[email protected]
----------------------------------------------------------------
🚀 Thanks for using ftp-deploy. Let's deploy some stuff!
----------------------------------------------------------------
If you found this project helpful, please support it
by giving it a ⭐ on Github --> https://github.com/SamKirkland/FTP-Deploy-Action
or add a badge 🏷️ to your projects readme --> https://github.com/SamKirkland/FTP-Deploy-Action#badge
----------------------------------------------------------------
🗑️ Removing all files on the server because 'dangerous-clean-slate' was set, this will make the deployment very slow...
Clear complete
----------------------------------------------------------------
I was testing a move from Jenkins to GH Actions and this dry-run looked sweet. However, after my test my testing server is completely blank in the intended folder. It seems the entire directory was deleted, but the dry-run partially worked since none of my files uploaded.
Bug Description
Using
dry-run
withdangerous-clean-slate
does not work.My Action Config
My Action Log
I was testing a move from Jenkins to GH Actions and this
dry-run
looked sweet. However, after my test my testing server is completely blank in the intended folder. It seems the entire directory was deleted, but thedry-run
partially worked since none of my files uploaded.It appears this is because this line on the parent repo never checks for the other property
dry-run
and thus deletes regardless of the flag - https://github.com/SamKirkland/ftp-deploy/blob/master/src/deploy.ts#L73The text was updated successfully, but these errors were encountered: