This commit is contained in:
parent
ce286ad133
commit
6d61a8ed4a
10
.drone.yml
10
.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
|
||||
commit: true
|
||||
commit_message: new lib version [CI SKIP]
|
||||
remote: git@git.odit.services:lfk/lib.git
|
||||
ssh_key:
|
||||
from_secret: GITLAB_SSHKEY
|
Reference in New Issue
Block a user