diff --git a/.drone.yml b/.drone.yml index 1ef5ab5..30fa7bd 100644 --- a/.drone.yml +++ b/.drone.yml @@ -15,7 +15,7 @@ steps: - cd backend - yarn - yarn lib - - name: push new dist + - name: prepare_commit image: alpine/git commands: - rm -rf ./dist ./openapi.json @@ -24,4 +24,9 @@ steps: - rm -rf ./backend - git add -A - git commit -m "new lib version [CI SKIP]" - - git push origin master \ No newline at end of file + - name: push to repo + image: appleboy/drone-git-push + depends_on: [ prepare_commit ] + settings: + branch: master + remote_name: origin \ No newline at end of file