From 3f5e10cd9b504ebe99449ccee1641bb8c2d60aab Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Mon, 8 Feb 2021 14:49:03 +0100 Subject: [PATCH] s3 plugin for deploy --- .drone.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 27885f7..5d4ac00 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,7 +5,13 @@ pipeline: - npm install - node render.js deploy: - image: node:latest - commands: - - ./deploy + image: plugins/s3 + settings: + bucket: deuxfleurs.fr + access_key: + from_secret: aws_access_key_id + secret_key: + from_secret: aws_secret_access_key + source: static/**/* + target: /