diff --git a/.drone.yml b/.drone.yml index 5731986..e16fd91 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,14 +1,11 @@ --- kind: pipeline -name: default +name: test platform: os: linux arch: amd64 -concurrency: - limit: 1 - steps: - name: generate image: thegeeklab/alpine-tools @@ -46,6 +43,24 @@ steps: environment: LINK_VALIDATOR_BASE_DIR: public +trigger: + ref: + - refs/heads/master + - refs/tags/** + - refs/pull/** + +--- +kind: pipeline +name: build + +platform: + os: linux + arch: amd64 + +concurrency: + limit: 1 + +steps: - name: build image: thegeeklab/hugo:0.83.1 commands: @@ -77,14 +92,16 @@ steps: when: ref: - refs/heads/master + - refs/tags/** trigger: ref: - refs/heads/master + - refs/tags/** - refs/pull/** --- kind: signature -hmac: 144d931364c0ad0bb0c19609c80ae88f3d2d6b0f9abf56bd2cb558b38b8d91e4 +hmac: 8492f9766aff77499b5b72493153bfed7e6ffc5f3e9a13bbd9dda0d1932cf7f4 ...