aboutsummaryrefslogtreecommitdiff
path: root/.woodpecker.yaml
blob: 336da93fc103b25bc4092e434cf2e2c9926d0c3e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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/
      # a bit more robust: do not require the let's encrypt certificate to be
      # working for the subdomain
      path_style: true