aboutsummaryrefslogtreecommitdiff
path: root/.drone.yml
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-02-08 14:49:03 +0100
committerAlex Auvolat <alex@adnab.me>2021-02-08 14:49:03 +0100
commit3f5e10cd9b504ebe99449ccee1641bb8c2d60aab (patch)
treeb5f42a6f8aaf1d77fc2cd080aa4a26d3133f75a9 /.drone.yml
parent1a3ed4bc201d716a8cf9f34beb5ee0e5c2f57290 (diff)
downloadsite-3f5e10cd9b504ebe99449ccee1641bb8c2d60aab.tar.gz
site-3f5e10cd9b504ebe99449ccee1641bb8c2d60aab.zip
s3 plugin for deploy
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml12
1 files 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: /