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
|
- npm install
|
||||||
- node render.js
|
- node render.js
|
||||||
deploy:
|
deploy:
|
||||||
image: node:latest
|
image: plugins/s3
|
||||||
commands:
|
settings:
|
||||||
- ./deploy
|
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