Add Drone config.
This commit is contained in:
parent
a1ca8499d8
commit
e3cdf82f0b
1 changed files with 25 additions and 0 deletions
25
.drone.yml
Normal file
25
.drone.yml
Normal file
|
@ -0,0 +1,25 @@
|
|||
---
|
||||
kind: pipeline
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: alpine:3.17.2
|
||||
commands:
|
||||
- apk update
|
||||
- apk add hugo
|
||||
- hugo
|
||||
|
||||
- name: upload
|
||||
image: plugins/s3
|
||||
settings:
|
||||
bucket: distorsion.interhacker.space
|
||||
endpoint: https://garage.deuxfleurs.fr
|
||||
region: garage
|
||||
access_key:
|
||||
from_secret: aws_access_key_id
|
||||
secret_key:
|
||||
from_secret: aws_secret_access_key
|
||||
source: public/**/*
|
||||
target: /
|
||||
strip_prefix: public/
|
Loading…
Add table
Reference in a new issue