diff --git a/.drone.yml b/.drone.yml index 6aee44a..a1e1024 100644 --- a/.drone.yml +++ b/.drone.yml @@ -71,15 +71,15 @@ steps: image: alpine/git commands: - git clone $DRONE_REMOTE_URL . - - git checkout dev - - name: generate changelog + - git checkout $DRONE_SOURCE_BRANCH + - name: run changelog export image: node:latest commands: - npx auto-changelog --commit-limit false -p -u --hide-credit - name: push new licenses file to repo image: appleboy/drone-git-push settings: - branch: dev + branch: $DRONE_SOURCE_BRANCH commit: true commit_message: 🧾New changelog file version [CI SKIP] author_email: bot@odit.services