forked from Deuxfleurs/site
s3 plugin for deploy
This commit is contained in:
parent
1a3ed4bc20
commit
3f5e10cd9b
1 changed files with 9 additions and 3 deletions
12
.drone.yml
12
.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: /
|
||||
|
||||
|
|
Loading…
Reference in a new issue