aboutsummaryrefslogtreecommitdiff
path: root/.drone.yml
diff options
context:
space:
mode:
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml
new file mode 100644
index 0000000..36af455
--- /dev/null
+++ b/.drone.yml
@@ -0,0 +1,25 @@
+---
+kind: pipeline
+name: default
+
+steps:
+ - name: build
+ image: alpine:3.17.2
+ commands:
+ - apk update
+ - apk add zola
+ - zola build
+
+ - name: upload
+ image: plugins/s3
+ settings:
+ bucket: guide.deuxfleurs.fr
+ 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/