FMN: allow build triggers on prod

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2023-04-14 15:43:33 +02:00
parent b726b6e234
commit 2096661af8
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD

View file

@ -36,14 +36,12 @@ spec:
triggers: triggers:
- type: ConfigChange - type: ConfigChange
- type: ImageChange - type: ImageChange
{% if env == 'staging' %}
- type: GitHub - type: GitHub
github: github:
# Not sure why secretReference does not work, but it doesn't. # Not sure why secretReference does not work, but it doesn't.
# secretReference: # secretReference:
# name: fmn-github-webook # name: fmn-github-webook
secret: "{{ fmn_stg_github_secret }}" secret: "{{ fmn_stg_github_secret }}"
{% endif %}
--- ---
# Sendria, to display email notifications in staging # Sendria, to display email notifications in staging
{% if env == 'staging' %} {% if env == 'staging' %}