diff --git a/.drone.yml b/.drone.yml index 3222c85..d772887 100644 --- a/.drone.yml +++ b/.drone.yml @@ -37,6 +37,22 @@ steps: tags: - dev registry: registry.odit.services + - name: run changelog export + depends_on: ["clone"] + image: node:latest + commands: + - npx auto-changelog --commit-limit false -p -u --hide-credit + - name: push new changelog to repo + depends_on: ["run changelog export"] + image: appleboy/drone-git-push + settings: + branch: dev + commit: true + commit_message: 🧾New changelog file version [CI SKIP] [skip ci] + author_email: bot@odit.services + remote: git@git.odit.services:lfk/backend.git + ssh_key: + from_secret: GITLAB_SSHKEY - name: run full license export depends_on: ["clone"] image: node:14.15.1-alpine3.12 @@ -55,20 +71,7 @@ steps: skip_verify: true ssh_key: from_secret: GITLAB_SSHKEY - - name: run changelog export - image: node:latest - commands: - - npx auto-changelog --commit-limit false -p -u --hide-credit - - name: push new changelog to repo - image: appleboy/drone-git-push - settings: - branch: dev - commit: true - commit_message: 🧾New changelog file version [CI SKIP] [skip ci] - author_email: bot@odit.services - remote: git@git.odit.services:lfk/backend.git - ssh_key: - from_secret: GITLAB_SSHKEY + trigger: branch: