summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Gomes <tiago.avv@gmail.com>2018-09-26 16:35:58 +0000
committerTiago Gomes <tiago.avv@gmail.com>2018-09-26 16:35:58 +0000
commitaf13150317655579ce603061254a7d643cd14f56 (patch)
treeeef03337f970b4487cc460a26b61004433791564
parentfdbf9be1ecf04fbc56c085a5f0a1633a06f61805 (diff)
parent9280b0cfb771c876b4a3edf0e80b619ad2c71306 (diff)
downloadbuildstream-af13150317655579ce603061254a7d643cd14f56.tar.gz
Merge branch 'tiagogomes/acme-challenge' into 'master'
ci: add ACME challenge See merge request BuildStream/buildstream!831
-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/