diff --git a/.drone.yml b/.drone.yml index d8acb3c..52d8daa 100644 --- a/.drone.yml +++ b/.drone.yml @@ -42,7 +42,7 @@ steps: depends_on: [clone] commands: - yarn - - yarn licenses:export + - yarn licenses:full - name: push new licenses file to repo image: appleboy/drone-git-push settings: @@ -117,4 +117,27 @@ steps: from_secret: BOT_DRONE_KEY trigger: event: - - tag \ No newline at end of file + - tag + +--- +kind: pipeline +type: docker +name: export:licenses + +steps: + - name: run full license export + image: node:alpine + depends_on: [clone] + commands: + - yarn + - yarn licenses:full + - name: push new licenses file to repo + image: appleboy/drone-git-push + settings: + branch: dev + commit: true + commit_message: new license file version [CI SKIP] + author_email: bot@odit.services + remote: git@git.odit.services:lfk/backend.git + ssh_key: + from_secret: GITLAB_SSHKEY