aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-02-08 15:01:20 +0100
committerAlex Auvolat <alex@adnab.me>2021-02-08 15:01:20 +0100
commitee68256a9a844eab67f4409c3c91854aff70ec55 (patch)
tree45b6c70f81dec58b0cfc8becb1a1e55e39e3d8bf
parent1a789d0ad5a953a0c23b213b827347044956a3b2 (diff)
downloadsite-ee68256a9a844eab67f4409c3c91854aff70ec55.tar.gz
site-ee68256a9a844eab67f4409c3c91854aff70ec55.zip
try to fix drone.yml
-rw-r--r--.drone.yml13
1 files changed, 9 insertions, 4 deletions
diff --git a/.drone.yml b/.drone.yml
index 5f07d8b..2707212 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -1,10 +1,13 @@
-pipeline:
- build:
+kind: pipeline
+name: default
+
+steps:
+ - name: build
image: node:latest
commands:
- npm install
- node render.js
- deploy:
+ - name: upload
image: plugins/s3
settings:
bucket: deuxfleurs.fr
@@ -13,7 +16,9 @@ pipeline:
secret_key:
from_secret: aws_secret_access_key
source: static/**/*
+ strip_prefix: static/
target: /
- endpoint: https://garage.deuxfleurs.fr/
path_style: true
+ endpoint: https://garage.deuxfleurs.fr
+ region: garage