Add Drone config.

This commit is contained in:
distorsion 2025-01-24 23:17:58 +01:00
parent a1ca8499d8
commit e3cdf82f0b

25
.drone.yml Normal file
View 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/