diff options
author | Alex Auvolat <alex@adnab.me> | 2021-03-19 14:25:57 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2021-03-19 14:25:57 +0100 |
commit | c5e24de159da10c56ea6f8a5fe25ef1f2b1651c6 (patch) | |
tree | 1689c601a612c05b70e5b7257c9351a868a8af3a /.drone.yml | |
parent | 4e94b2b704b3c7d0fa89ee55760c025f388bac35 (diff) | |
download | garage-c5e24de159da10c56ea6f8a5fe25ef1f2b1651c6.tar.gz garage-c5e24de159da10c56ea6f8a5fe25ef1f2b1651c6.zip |
Center logo in book, add book CI
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 27 |
1 files changed, 27 insertions, 0 deletions
@@ -79,3 +79,30 @@ steps: - apt-get install --yes libsodium-dev awscli python-pip - pip install s3cmd - ./script/test-smoke.sh || (cat /tmp/garage.log; false) + +--- +kind: pipeline +name: website + +steps: + - name: build + image: hrektts/mdbook + commands: + - cd doc/book + - mdbook build + + - name: upload + image: plugins/s3 + settings: + bucket: garagehq.deuxfleurs.fr + access_key: + from_secret: garagehq_aws_access_key_id + secret_key: + from_secret: garagehq_aws_secret_access_key + source: doc/book/book/**/* + strip_prefix: doc/book/book/ + target: / + path_style: true + endpoint: https://garage.deuxfleurs.fr + region: garage + |