Simple github->SFTP Pipeline : ignore .gitignore paths


Sometimes I remove env-dependendent files in git repo (like robots.txt) + add them in gitignore.Of course the files are still on production server.

However, still want to remove them, as the removal is pushed in git, it doesn’t take .gitignore in consideration.

This is very dangerous as it can remove important files from servers.

I tried different options : github <> FileSystem, Adding .gitignore to FS , Even duplicating .gitignore in Deploy Exclude paths : result is always the same when previewing the deploy, it wants to push Deletion of files, despite them being ignored.

Is there something I missed ?
thanks !


Hi Arnaud,
Thank you for reporting that. Could you send the URL’s to the executions to We’ll examine it and get back to you.