1
0
Fork 0
forked from infra/ansible

Fix the planet's github webhook secret

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2025-05-27 10:35:23 +02:00
commit 639d3145cd
Signed by untrusted user: abompard
GPG key ID: 31584CFEB9BF64AD

View file

@ -22,14 +22,6 @@ spec:
triggers:
- type: ConfigChange
- type: ImageChange
{% if env == 'staging' %}
- type: GitHub
github:
secretReference:
name: planet_stg_github_secret
{% elif env == 'production' %}
- type: GitHub
github:
secretReference:
name: planet_github_secret
{% endif %}
secret: "{{ (env == 'staging')|ternary(planet_stg_github_secret, planet_github_secret) }}"