WebStrom - run extra scripts during deployment

Hi,
this is my first post on this forum.
I've been using WebStorm for 1,5 year.

My question is:
- is it possible to run extra scripts during deploment phase?
e.g. I would like to deploy a .js file to remote server (via scp), but this file should be minified. However on the repository it should be in normal version.

I thought about "proxy deploment server" that would check if any of files were changed.

WebStorm -- Proxy Deploment Server (on linux; scan directory on every change and run some scripts) -- scp files to Production Server

But the best options would be to use built-in WebStorm tool (plugins?).

0
1 comment

Please sign in to leave a comment.