diff --git a/.drone.yml b/.drone.yml index b27c87e..5b03fa0 100644 --- a/.drone.yml +++ b/.drone.yml @@ -16,16 +16,18 @@ steps: - yarn - yarn lib - name: prepare_commit - image: alpine/git + image: alpine commands: - rm -rf ./dist ./openapi.json - mv ./backend/lib/dist ./dist - mv ./backend/lib/openapi.json ./openapi.json - rm -rf ./backend - - git add -A - - git commit -m "new lib version [CI SKIP]" - name: push to repo image: appleboy/drone-git-push settings: branch: master - remote: git@git.odit.services:lfk/lib.git \ No newline at end of file + commit: true + commit_message: new lib version [CI SKIP] + remote: git@git.odit.services:lfk/lib.git + ssh_key: + from_secret: GITLAB_SSHKEY \ No newline at end of file