aboutsummaryrefslogtreecommitdiff
path: root/.drone.yml
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-04-17 12:24:51 +0200
committerAlex Auvolat <alex@adnab.me>2023-04-17 12:24:51 +0200
commit7d41074f738de8f9d7a7e910fb1c26ed698373c2 (patch)
tree4f9ec3cea7b573d7fe7a90e619453ab3473b6a40 /.drone.yml
parent1701a090c292f9f3f1894e6844032b3cbe6d15de (diff)
parent4a98a21215262f646307113782b3e8762de70660 (diff)
downloadguide.deuxfleurs.fr-7d41074f738de8f9d7a7e910fb1c26ed698373c2.tar.gz
guide.deuxfleurs.fr-7d41074f738de8f9d7a7e910fb1c26ed698373c2.zip
Merge branch 'main' into reduce-image-sizes
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/