aboutsummaryrefslogtreecommitdiff
path: root/.drone.yml
blob: 27072126e73c86a68416a06d0eef18f8fda5f577 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
kind: pipeline
name: default

steps:
  - name: build
    image: node:latest
    commands:
      - npm install
      - node render.js 
  - name: upload
    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/**/*
      strip_prefix: static/
      target: /
      path_style: true
      endpoint: https://garage.deuxfleurs.fr
      region: garage