diff options
author | Tiago Gomes <tiago.gomes@codethink.co.uk> | 2018-09-26 16:36:57 +0100 |
---|---|---|
committer | Tiago Gomes <tiago.gomes@codethink.co.uk> | 2018-09-26 16:54:53 +0100 |
commit | 9280b0cfb771c876b4a3edf0e80b619ad2c71306 (patch) | |
tree | eef03337f970b4487cc460a26b61004433791564 /.gitlab-ci.yml | |
parent | fdbf9be1ecf04fbc56c085a5f0a1633a06f61805 (diff) | |
download | buildstream-9280b0cfb771c876b4a3edf0e80b619ad2c71306.tar.gz |
ci: add ACME challenge
To finish the creation of the Let's Encrypt certificate, which will
allows us to use https://docs.buildstream.build/ for accessing the
documentation.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e56590556..fcab72c7a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -273,8 +273,14 @@ pages: dependencies: - source_dist - docs + variables: + ACME_DIR: public/.well-known/acme-challenge script: - - find public/ + - mkdir ${ACME_DIR} + # Required to finish the creation of the Let's Encrypt certificate, + # which allows using https://docs.buildstream.build/ for accessing + # the documentation. + - echo ${ACME_CHALLENGE} > ${ACME_DIR}/$(echo ${ACME_CHALLENGE} | cut -c1-43) artifacts: paths: - public/ |