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

Custom ini files at deploy time #47

Closed astroanu closed 9 years ago

astroanu commented 9 years ago

It would be nice to let the user choose the ini file. ex:

php git-deploy ... would use the default (deploy.ini) php git-deploy ... -istaging would use the staging settings (staging.ini)

pocketarc commented 9 years ago

I take it you've found out how to do this, considering you closed it? :smile:

Load deploy.ini:

php git-deploy

Load staging.ini

php git-deploy staging
astroanu commented 9 years ago

indeed i did.. poor documentation reading --doh-- stupid me