forked from Deuxfleurs/site
try to fix drone.yml
This commit is contained in:
parent
1a789d0ad5
commit
ee68256a9a
1 changed files with 9 additions and 4 deletions
13
.drone.yml
13
.drone.yml
|
@ -1,10 +1,13 @@
|
||||||
pipeline:
|
kind: pipeline
|
||||||
build:
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: build
|
||||||
image: node:latest
|
image: node:latest
|
||||||
commands:
|
commands:
|
||||||
- npm install
|
- npm install
|
||||||
- node render.js
|
- node render.js
|
||||||
deploy:
|
- name: upload
|
||||||
image: plugins/s3
|
image: plugins/s3
|
||||||
settings:
|
settings:
|
||||||
bucket: deuxfleurs.fr
|
bucket: deuxfleurs.fr
|
||||||
|
@ -13,7 +16,9 @@ pipeline:
|
||||||
secret_key:
|
secret_key:
|
||||||
from_secret: aws_secret_access_key
|
from_secret: aws_secret_access_key
|
||||||
source: static/**/*
|
source: static/**/*
|
||||||
|
strip_prefix: static/
|
||||||
target: /
|
target: /
|
||||||
endpoint: https://garage.deuxfleurs.fr/
|
|
||||||
path_style: true
|
path_style: true
|
||||||
|
endpoint: https://garage.deuxfleurs.fr
|
||||||
|
region: garage
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue