Removed the bs code

ref #31
This commit is contained in:
Nicolai Ort 2020-12-12 22:37:11 +01:00
parent e59630b17e
commit ff178f9d77
1 changed files with 1 additions and 33 deletions

View File

@ -97,36 +97,4 @@ trigger:
branch:
- main
event:
- tag
---
kind: pipeline
type: docker
name: build:lib
clone:
disable: true
steps:
- name: checkout
image: alpine/git
commands:
- git clone $DRONE_REMOTE_URL backend
- git clone https://git.odit.services/lfk/lib.git lib
- cd backend
- git checkout $DRONE_SOURCE_BRANCH
- name: build the lib
image: node:alpine
commands:
- cd backend
- yarn
- yarn lib
- name: push
image: alpine/git
commands:
- cd backend
- mv ./lib/dist ../lib/dist
- mv ./lib/openapi.json ../lib/openapi.json
- cd ../lib
- git add -A
- git commit -m "$DRONE_COMMIT"
- git push
- tag