fix cloudflare token env
Some checks failed
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/docs unknown status
ci/woodpecker/push/test Pipeline failed
ci/woodpecker/push/notify Pipeline was successful

This commit is contained in:
Robert Kaussow 2024-09-27 22:15:02 +02:00
parent 1a9280fb2e
commit 183f770fce
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@
environment:
LEGO_SERVER: "{{ lego_acme_server }}/directory"
LEGO_PATH: "{{ __lego_base_dir }}/.lego"
CLOUDFLARE_API_TOKEN: "{{ lego_cloudflare_api_token }}"
CLOUDFLARE_DNS_API_TOKEN: "{{ lego_cloudflare_api_token }}"
when: not item.skip_create | default(False) | bool
loop: "{{ lego_certificates }}"
loop_control:

View File

@ -4,7 +4,7 @@
export LEGO_SERVER="{{ lego_acme_server }}/directory"
export LEGO_PATH="{{ __lego_base_dir }}/.lego"
export CLOUDFLARE_API_TOKEN="{{ lego_cloudflare_api_token }}"
export CLOUDFLARE_DNS_API_TOKEN="{{ lego_cloudflare_api_token }}"
{% for cert in lego_certificates %}
echo "$(date) checking for cert update for {{ ', '.join(cert.domains) }}."