Can I automatically run a command in webstorm after pushing to GitHub?

2

Say I have a webstorm project. Every time I commit and push to github, I want WebStorm to run a certain command. I have searched on the internet on how to do this, but I can't figure it out. How can I do it? Or am I stuck with using webhooks?

Universal Electricity

Posted 2015-12-17T15:41:18.530

Reputation: 129

Under certain command you mean Git command or WebStorm action ? Please clarify – Anton Dozortsev – 2015-12-19T15:26:08.730

@AntonDozortsev I mean any command you can run in a terminal, for example ls – Universal Electricity – 2015-12-19T15:35:10.290

Answers

1

Unfortunately WebStorm don't provide any configuration for this workflow.

But still I will try to help you.

First

You can create bash instance and easily Ctrl+R run it using BashSupport plugin.

Second

Create instance of External Tool then assign any shortcut on it and also easily perform your often action. Examples:

Anton Dozortsev

Posted 2015-12-17T15:41:18.530

Reputation: 2 744