aboutsummaryrefslogtreecommitdiff
path: root/.woodpecker.yaml
blob: a8209cb1b60dd26f5719ed35a7cfa1dd960b4e1e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
steps:
  - name: upload
    when:
      branch:
        - preprod
    image: plugins/s3
    settings:
      bucket: preprod-site
      endpoint: https://garage.deuxfleurs.fr
      region: garage
      access_key:
        from_secret: aws_access_key_id
      secret_key:
        from_secret: aws_secret_access_key
      source: static/**/*
      target: /
      strip_prefix: static/