Add scheduled gitlab CI job which Use acme.sh and DNS challenge

parent 06bb0465
......@@ -17,3 +17,16 @@ pages:
- public
only:
- master
letsencrypt-renewal:
image: neilpang/acme.sh
only:
- schedules
variables:
GITLAB_TOKEN: $GITLAB_TOKEN
GITLAB_PROJECT: "1926532"
GITLAB_DOMAIN: librehealth.io
GANDI_LIVEDNS_KEY: $GANDI_LIVEDNS_KEY
script:
- acme.sh --issue -d librehealth.io --dns dns_gandi_livedns --accountemail infrastructure@librehealth.io --always-force-new-domain-key --days 30
- acme.sh --deploy --deploy-hook gitlab -d librehealth.io --accountemail infrastructure@librehealth.io --always-force-new-domain-key --days 3
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment