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

3
4
5
6
7
8
9
10
11
lets-encrypt:
  stage: pre-deploy
  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
    - certbot certonly --dry-run --dns-rfc2136 --dns-rfc2136-credentials /rfc2136.ini -d nic-a.net --preferred-challenges dns-01
  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