Upload to deployment - add a confirm option
I would like to have the option to see a "confirm" dialog before I want to upload files to the deployment server.
Reason:
I have my dev, staging and live environemnts in my deployment settings.
The Live environment is mostly there because I want to easily compare files within my IDE (of course I could as well check the latest git version on the server and compare my local file to that git release but it's much faster to just hit "compare with deployment live")
The problem is: it might happen when I type too fast that I accidentally upload files to the live server instead of the dev server. So an option in the deployment settings "confirm before upload" would be rather useful for me.
Is there any way / plugin to achieve that?
请先登录再写评论。
There is no such option at the moment, please vote:
https://youtrack.jetbrains.com/issue/WI-55957
As some sort of workaround, you may remove the saved password from your live environment deployment record. Once you try to upload anything to it for the very first time in the current PhpStorm working session, IDE should prompt you for a password thus emulating the confirmation phase. Not a solution really but could be useful if you do not upload anything to production too often.
Vasiliy Yur Thank you for your answer. Seems like it won't be possible anytime soon.
Your workaround might work, but I think I will be too lazy to insert the password everytime again and again when I want to compare files but thank you for your insight.