diff --git a/.drone.yml b/.drone.yml index 174272d..00081db 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 + diff --git a/README.md b/README.md index 442df86..00fec50 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Garage [![Build Status](https://drone.deuxfleurs.fr/api/badges/Deuxfleurs/garage ===
- +
diff --git a/doc/book/src/intro.md b/doc/book/src/intro.md index 02920f8..0a7c548 100644 --- a/doc/book/src/intro.md +++ b/doc/book/src/intro.md @@ -1,4 +1,8 @@ -![Garage's Logo](img/logo.svg) ++ + + +
# The Garage Geo-Distributed Data Store