summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml8
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/