add drone and new config
Some checks failed
continuous-integration/drone Build is failing

This commit is contained in:
Quentin 2023-02-28 11:11:29 +01:00
parent b64825fb7b
commit 5545ae5bd0
Signed by: quentin
GPG key ID: E9602264D639FF68
2 changed files with 26 additions and 1 deletions

25
.drone.yml Normal file
View file

@ -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

View file

@ -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