aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsptaule <lecas83@gmail.com>2022-01-27 18:12:46 +0100
committersptaule <lecas83@gmail.com>2022-01-27 18:12:46 +0100
commit2775be3f0d9256682b7db81158fcce15ad2ca2ae (patch)
tree5693809b440c75a65cebf46e2cc1715258317e3a
parent1da8b90340235753b935a880d797cb796700d151 (diff)
downloadgaragehq.deuxfleurs.fr-2775be3f0d9256682b7db81158fcce15ad2ca2ae.tar.gz
garagehq.deuxfleurs.fr-2775be3f0d9256682b7db81158fcce15ad2ca2ae.zip
Doc refactor, doc and index QoL, fix search: working on every page
-rw-r--r--.drone.yml43
1 files changed, 43 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml
new file mode 100644
index 0000000..efdad5a
--- /dev/null
+++ b/.drone.yml
@@ -0,0 +1,43 @@
+---
+# see https://docs.drone.io/pipeline/configuration/
+kind: pipeline
+type: docker
+name: build
+
+steps:
+ - name: build-css
+ image: node
+ commands:
+ - npm install
+ - npx tailwindcss -i ./src/input.css -o ./static/style.css --minify
+
+ - name: build-zola
+ image: ghcr.io/getzola/zola:v0.15.3
+ entrypoint: [ "/bin/zola" ]
+ command: [ "build", "-u", "https://garagehq-new.garage-staging-web.home.adnab.me" ]
+
+ - name: upload
+ image: plugins/s3
+ settings:
+ bucket: garagehq-new
+ access_key:
+ from_secret: aws_access_key_id
+ secret_key:
+ from_secret: aws_secret_access_key
+ source: public/**/*
+ strip_prefix: public/
+ target: /
+ path_style: true
+ endpoint: https://garage-staging.home.adnab.me
+ region: garage-staging
+ when:
+ branch:
+ - master
+ event:
+ exclude:
+ - pull_request
+---
+kind: signature
+hmac: a34894addd2abd4d994eaad831021b8aabaffa8ccbbb2ad9e4bcca01cbc85460
+
+...