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