diff --git a/.drone.yml b/.drone.yml index fd172ac..d8acb3c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -37,11 +37,22 @@ steps: tags: - dev registry: registry.odit.services - when: - branch: - - dev - event: - - push + - name: run full license export + image: node:alpine + depends_on: [clone] + commands: + - yarn + - yarn licenses:export + - 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 trigger: branch: