diff --git a/roles/openshift-apps/discourse2fedmsg/templates/buildconfig.yml b/roles/openshift-apps/discourse2fedmsg/templates/buildconfig.yml index bf5d1ea0bf..6eb2d98800 100644 --- a/roles/openshift-apps/discourse2fedmsg/templates/buildconfig.yml +++ b/roles/openshift-apps/discourse2fedmsg/templates/buildconfig.yml @@ -29,8 +29,8 @@ spec: triggers: - type: ConfigChange - type: ImageChange - {% if discourse2fedmsg_stg_github_secret is defined and env == 'staging' %} + {% if discourse2fedmsg_stg_webhook_secret is defined and env == 'staging' %} - type: GitHub github: - secret: "{{ discourse2fedmsg_stg_github_secret }}" + secret: "{{ discourse2fedmsg_stg_webhook_secret }}" {% endif %}