diff --git a/.drone.yml b/.drone.yml index 4cc1248..ec2c8fd 100644 --- a/.drone.yml +++ b/.drone.yml @@ -23,8 +23,15 @@ trigger: kind: pipeline type: docker name: build:dev +clone: + disable: true steps: + - name: clone + image: alpine/git + commands: + - git clone $DRONE_REMOTE_URL . + - git checkout dev - name: build dev image: plugins/docker depends_on: [clone] @@ -37,13 +44,8 @@ steps: tags: - dev registry: registry.odit.services - - name: clone_full - image: alpine/git - commands: - - git clone $DRONE_REMOTE_URL . - - git checkout dev - name: run changelog export - depends_on: ["clone_full"] + depends_on: ["clone"] image: node:latest commands: - npx auto-changelog --commit-limit false -p -u --hide-credit