aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-03-19 14:25:57 +0100
committerAlex Auvolat <alex@adnab.me>2021-03-19 14:25:57 +0100
commitc5e24de159da10c56ea6f8a5fe25ef1f2b1651c6 (patch)
tree1689c601a612c05b70e5b7257c9351a868a8af3a
parent4e94b2b704b3c7d0fa89ee55760c025f388bac35 (diff)
downloadgarage-c5e24de159da10c56ea6f8a5fe25ef1f2b1651c6.tar.gz
garage-c5e24de159da10c56ea6f8a5fe25ef1f2b1651c6.zip
Center logo in book, add book CI
-rw-r--r--.drone.yml27
-rw-r--r--README.md2
-rw-r--r--doc/book/src/intro.md6
3 files changed, 33 insertions, 2 deletions
diff --git a/.drone.yml b/.drone.yml
index 174272d7..00081db9 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 442df86b..00fec509 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,7 @@ Garage [![Build Status](https://drone.deuxfleurs.fr/api/badges/Deuxfleurs/garage
===
<p align="center" style="text-align:center;">
- <a href="https://git.deuxfleurs.fr/Deuxfleurs/garage">
+ <a href="https://garagehq.deuxfleurs.fr">
<img alt="Garage logo" src="doc/logo/garage.png" height="200" />
</a>
</p>
diff --git a/doc/book/src/intro.md b/doc/book/src/intro.md
index 02920f83..0a7c5488 100644
--- a/doc/book/src/intro.md
+++ b/doc/book/src/intro.md
@@ -1,4 +1,8 @@
-![Garage's Logo](img/logo.svg)
+<p align="center" style="text-align:center;">
+ <a href="https://garagehq.deuxfleurs.fr">
+ <img alt="Garage's Logo" src="img/logo.svg" height="200" />
+ </a>
+</p>
# The Garage Geo-Distributed Data Store