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

Environment Variables based configuration #87

Open gphg opened 5 years ago

gphg commented 5 years ago

Hello there!

I have a suggestion. Would it be nice if git-deploy able to read system's environment variables instead of text .ini file? This will help a lot on Continuous Integration which pass SECRET_KEY (eg. password and host) is possible.

Normally, I have to build a shell script that produces deploy.ini and staging.ini files. These files contain SECRET_KEY. I have to add these ini file to .gitignore.

pocketarc commented 5 years ago

Hi Garett!

That is definitely a useful option, to be honest! I'd be happy to have a look at it - I don't have much time in the next few weeks but sometime in February I should be able to look into adding this to the project.