From 5545ae5bd05756578b4b5503d68ec2ecebb825da Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Tue, 28 Feb 2023 11:11:29 +0100 Subject: [PATCH] add drone and new config --- .drone.yml | 25 +++++++++++++++++++++++++ admin/config.yml | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..41dea59 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,25 @@ +--- +kind: pipeline +name: default + +steps: + - name: build + image: ruby + commands: + - bundle install + - bundle exec jekyll build + + - name: upload + image: plugins/s3 + settings: + bucket: quentin.dufour.io + access_key: + from_secret: aws_access_key_id + secret_key: + from_secret: aws_secret_acess_key + source: _site/**/* + target: / + region: garage + strip_prefix: _site/ + endpoint: https://garage.deuxfleurs.fr + path_style: true diff --git a/admin/config.yml b/admin/config.yml index bb4241b..9c7ed97 100644 --- a/admin/config.yml +++ b/admin/config.yml @@ -1,7 +1,7 @@ backend: name: gitea repo: quentin/quentin.dufour.io - base_url: http://teabag.deuxfleurs.fr + base_url: https://teabag.deuxfleurs.fr api_root: https://git.deuxfleurs.fr/api/v1 branch: master