diff --git a/roles/openshift-apps/discourse2fedmsg/templates/buildconfig.yml b/roles/openshift-apps/discourse2fedmsg/templates/buildconfig.yml index 6eb2d98800..468dac2785 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_webhook_secret is defined and env == 'staging' %} +{% if discourse2fedmsg_stg_webhook_secret is defined and env == 'staging' %} - type: GitHub github: secret: "{{ discourse2fedmsg_stg_webhook_secret }}" - {% endif %} +{% endif %}