pocketarc / git-deploy-php

git-deploy-php is a simple php-based tool that deploys your Git repositories to FTP/SFTP servers, and keeps them updated automatically.
http://brunodebarros.github.io/git-deploy-php
291 stars 45 forks source link

Ignore directories #46

Open GesJeremie opened 9 years ago

GesJeremie commented 9 years ago

We can ignore files, but is it possible to ignore directories ? :)

pocketarc commented 9 years ago

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?

GesJeremie commented 9 years ago

I will try for my next project, but sounds logical. You can close the issue ;)

pocketarc commented 9 years ago

I will leave it open, if you don't mind, and wait for you to confirm that it's working well. :smile:

GesJeremie commented 9 years ago

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 ...

pocketarc commented 9 years ago

@GesJeremie An ignore_directories option has been added by @maskas. Go use it and then thank him. :wink:

ayalon commented 9 years ago

please update the website documentation accordingly