Center logo in book, add book CI

This commit is contained in:
Alex Auvolat 2021-03-19 14:25:57 +01:00
parent 4e94b2b704
commit c5e24de159
3 changed files with 33 additions and 2 deletions

View file

@ -79,3 +79,30 @@ steps:
- apt-get install --yes libsodium-dev awscli python-pip - apt-get install --yes libsodium-dev awscli python-pip
- pip install s3cmd - pip install s3cmd
- ./script/test-smoke.sh || (cat /tmp/garage.log; false) - ./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

View file

@ -2,7 +2,7 @@ Garage [![Build Status](https://drone.deuxfleurs.fr/api/badges/Deuxfleurs/garage
=== ===
<p align="center" style="text-align:center;"> <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" /> <img alt="Garage logo" src="doc/logo/garage.png" height="200" />
</a> </a>
</p> </p>

View file

@ -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 # The Garage Geo-Distributed Data Store