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
The ability to add confirmation to a specific server #595
Comments
Thanks for this idea. I added the On the other hand you could easily implement such a check in a Hook for |
Thank you for considering my suggestion, I read the manual but didn't find how to use the I tried this: [git-ftp "prod"]
...
pre-ftp-push=script.sh But it didn't work, can you please give me an example? |
Oh. Git hooks is an official git feature:
You have to place your script file in |
Thanks :) |
Enhancement
It would be helpful to have the ability to add confirmation to a specific server before pushing changes
Use case:
Imagine you configured 2 servers,
Beta server in which you test under development functionalities
Prod server where the stable version is
You can easily run
git ftp push -s prod
and break the production App(I'm not saying it happened to me because I thought I was on another project)
So it would be helpful if there was a confirmation question like "Are you sure you want to push to AppName Production ?"
It can be set up for a server like so:
The text was updated successfully, but these errors were encountered: