This commit is contained in:
parent
b64825fb7b
commit
5545ae5bd0
2 changed files with 26 additions and 1 deletions
25
.drone.yml
Normal file
25
.drone.yml
Normal 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
|
|
@ -1,7 +1,7 @@
|
||||||
backend:
|
backend:
|
||||||
name: gitea
|
name: gitea
|
||||||
repo: quentin/quentin.dufour.io
|
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
|
api_root: https://git.deuxfleurs.fr/api/v1
|
||||||
branch: master
|
branch: master
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue