Tiago Gomes pushed to branch tiagogomes/acme-challenge at BuildStream / buildstream
Commits:
-
9280b0cf
by Tiago Gomes at 2018-09-26T15:54:53Z
1 changed file:
Changes:
... | ... | @@ -273,8 +273,14 @@ pages: |
273 | 273 |
dependencies:
|
274 | 274 |
- source_dist
|
275 | 275 |
- docs
|
276 |
+ variables:
|
|
277 |
+ ACME_DIR: public/.well-known/acme-challenge
|
|
276 | 278 |
script:
|
277 |
- - find public/
|
|
279 |
+ - mkdir ${ACME_DIR}
|
|
280 |
+ # Required to finish the creation of the Let's Encrypt certificate,
|
|
281 |
+ # which allows using https://docs.buildstream.build/ for accessing
|
|
282 |
+ # the documentation.
|
|
283 |
+ - echo ${ACME_CHALLENGE} > ${ACME_DIR}/$(echo ${ACME_CHALLENGE} | cut -c1-43)
|
|
278 | 284 |
artifacts:
|
279 | 285 |
paths:
|
280 | 286 |
- public/
|