Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pre/Post-deploy hooks #65

Open
tjans opened this issue Dec 8, 2015 · 0 comments
Open

Pre/Post-deploy hooks #65

tjans opened this issue Dec 8, 2015 · 0 comments

Comments

@tjans
Copy link

tjans commented Dec 8, 2015

Bruno, we discussed this via email, and I'm entering it as an issue per your request.

It would be nice to have a pre-deploy and post-deploy hook that would let you run a script of your choosing (in this case, modifying/transforming configuration files prior to pushing them to production).

You could even make a per-file pre-deploy hook that'd call the script with the filename/contents, so you'd just have to check the filename, and if it was Laravel's .env config file for example, you could change its contents by transforming it or copying over a new config from a folder name, perhaps one that matches your git-deploy ini file name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants