-
Notifications
You must be signed in to change notification settings - Fork 5
Useful development tips
Joel Davies edited this page Sep 16, 2022
·
3 revisions
To setup StackStorm to auto install when commits are pushed to a branch use the following steps:
- Login to stackstorm via CLI using
st2 login <username>
- Modify the 'branch' property in /opt/stackstorm/configs/git.yaml to be the desired branch e.g.
sudo vim /opt/stackstorm/configs/git.yaml
- 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 underPacks -> git