try again [ci skip]
This commit is contained in:
parent
337a01f6b1
commit
b79f3ddd58
2 changed files with 2 additions and 2 deletions
|
|
@ -95,7 +95,7 @@ steps:
|
||||||
CLOUDFLARE_ZONE_ID:
|
CLOUDFLARE_ZONE_ID:
|
||||||
from_secret: CLOUDFLARE_ZONE_ID
|
from_secret: CLOUDFLARE_ZONE_ID
|
||||||
commands:
|
commands:
|
||||||
- "apk update && apk add git certbot expect curl gzip wget"
|
- "apk update && apk add git certbot expect curl gzip wget jq"
|
||||||
# Install terraform cli
|
# Install terraform cli
|
||||||
# - "curl https://releases.hashicorp.com/terraform/0.14.6/terraform_0.14.6_linux_amd64.zip | gzip -d > /usr/local/bin/terraform && chmod 775 /usr/local/bin/terraform"
|
# - "curl https://releases.hashicorp.com/terraform/0.14.6/terraform_0.14.6_linux_amd64.zip | gzip -d > /usr/local/bin/terraform && chmod 775 /usr/local/bin/terraform"
|
||||||
# - "curl https://releases.hashicorp.com/terraform/1.10.3/terraform_1.10.3_linux_amd64.zip | gzip -d > /usr/local/bin/terraform && chmod 775 /usr/local/bin/terraform"
|
# - "curl https://releases.hashicorp.com/terraform/1.10.3/terraform_1.10.3_linux_amd64.zip | gzip -d > /usr/local/bin/terraform && chmod 775 /usr/local/bin/terraform"
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ curl https://api.cloudflare.com/client/v4/zones/$CLOUDFLARE_ZONE_ID/dns_records
|
||||||
-H 'Content-Type: application/json' \
|
-H 'Content-Type: application/json' \
|
||||||
-H "Authorization: Bearer $CLOUDFLARE_TOKEN" \
|
-H "Authorization: Bearer $CLOUDFLARE_TOKEN" \
|
||||||
-d "{
|
-d "{
|
||||||
\"comment\": \"Domain verification record\",
|
\"comment\": \"certbot temporary challenge\",
|
||||||
\"content\": \"$CERTBOT_VALIDATION\",
|
\"content\": \"$CERTBOT_VALIDATION\",
|
||||||
\"name\": \"_acme-challenge.viktorbarzin.me\",
|
\"name\": \"_acme-challenge.viktorbarzin.me\",
|
||||||
\"proxied\": false,
|
\"proxied\": false,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue