image: alpine:latest lets-encrypt: stage: deploy image: python:3.6 script: - pip install certbot-dns-rfc2136 - umask 0077 - > for i in dns_rfc2136_server dns_rfc2136_port dns_rfc2136_name dns_rfc2136_secret dns_rfc2136_algorithm; do echo "$i = ${!i}" >> /rfc2136.ini; done - > certbot certonly \ --agree-tos \ --non-interactive \ --email nander13@gmu.edu \ --dry-run \ --dns-rfc2136 \ --dns-rfc2136-credentials /rfc2136.ini \ -d nic-a.net \ --preferred-challenges dns-01 when: manual pages: stage: deploy script: - echo 'Nothing to do...' artifacts: paths: - public only: - master