aboutsummaryrefslogtreecommitdiff
path: root/.drone.yml
blob: 862a527b00bf1d752303e162515a81ed8a88afcd (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
25
26
27
28
29
---
# see https://docs.drone.io/pipeline/configuration/
kind: pipeline
type: docker
name: build

steps:
  - name: build and publish
    image: klakegg/hugo:0.90.0-alpine
    environment:
      AWS_ACCESS_KEY_ID:
        from_secret: aws_access_key_id
      AWS_SECRET_ACCESS_KEY:
        from_secret: aws_secret_access_key
    commands:
      - hugo
      - hugo deploy
    when:
      branch:
      - main
      event:
        exclude:
          - pull_request

---
kind: signature
hmac: 5fc38cf903fe1aaea273b0c99f4eacb442408d2b1fcf8d6a9343112922eeaf97

...