Modifying server config file programtically
I have a 'Project' and an 'SFTP' deployment configuration setup.
The 'Deployment path' of the SFTP config needs to change frequently, so in previous editors (Sublime, VS Code) there's a config file that can be modified directly which I used in a git hook to update the server config.
How do I do this with PhpStorm? I mainly need to know where is the deployment configurations file located?
Thanks
请先登录再写评论。
If you have Visible only for this project enabled in Settings | Build, Execution, Deployment | Deployment, the deployment settings are stored in .idea/webServers.xml and .idea/deployment.xml. The first one includes the server URL, port, etc. info, the latter is for path mappings