Skip to content

Useful development tips

Joel Davies edited this page Sep 16, 2022 · 3 revisions

Automatic installs

To setup StackStorm to auto install when commits are pushed to a branch use the following steps:

  1. Login to stackstorm via CLI using st2 login <username>
  2. Modify the 'branch' property in /opt/stackstorm/configs/git.yaml to be the desired branch e.g. sudo vim /opt/stackstorm/configs/git.yaml
  3. Run sudo rm -rf /opt/stackstorm/packs/git/sensors/clones && sudo st2ctl reload --register-configs The branch currently being monitored can be seen in the web interface under Packs -> git
Clone this wiki locally