git-deploy-php
git-deploy-php copied to clipboard
Ignore directories
We can ignore files, but is it possible to ignore directories ? :)
Hi @GesJeremie, it is possible to ignore directories indeed, I think; you can see it in issue #26, where @spescina suggested adding /* to fix the problem. Can you let me know if that works for you?
I will try for my next project, but sounds logical. You can close the issue ;)
I will leave it open, if you don't mind, and wait for you to confirm that it's working well. :smile:
I'm deploying an another project, I added this line ignore_files[] = template/*
, to ignore everything into the folder template, when I run the deploy, the entire folder is uploaded ...
@GesJeremie An ignore_directories option has been added by @maskas. Go use it and then thank him. :wink:
please update the website documentation accordingly