Fix the planet's github webhook secret
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
8254b70300
commit
639d3145cd
1 changed files with 1 additions and 9 deletions
|
@ -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) }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue