.gitlab-ci.yml 590 Bytes
Newer Older
1 2
image: alpine:latest

3
lets-encrypt:
4
  stage: deploy
5 6 7 8
  image: python:3.6
  script:
    - pip install certbot-dns-rfc2136
    - 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
Nicholas J Anderson's avatar
Nicholas J Anderson committed
9
    - 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
10 11
  when: manual

Douwe Maan's avatar
Douwe Maan committed
12 13 14
pages:
  stage: deploy
  script:
15
  - echo 'Nothing to do...'
Douwe Maan's avatar
Douwe Maan committed
16 17 18 19
  artifacts:
    paths:
    - public
  only:
20
  - master