diff --git a/.drone.yml b/.drone.yml index 81dca95..bc9d34b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,7 +2,6 @@ kind: pipeline name: default - steps: - name: build-draft image: plugins/hugo @@ -13,20 +12,19 @@ steps: buildExpired: true buildFuture: true theme: geeklab - when: - branch: [ draft ] - event: [ push ] + when: + branch: [ draft ] + event: [ push ] - name: build image: plugins/hugo settings: hugoVersion: 0.52 validate: true - buildFuture: true theme: geeklab - when: - branch: [ master ] - event: [ push ] + when: + branch: [ master ] + event: [ push ] - name: publish image: appleboy/drone-scp @@ -41,6 +39,6 @@ steps: from_secret: ssh_key strip_components: 1 rm: true - when: - branch: [ master ] - event: [ push ] + when: + branch: [ master ] + event: [ push ]