Switched pipeline over to build only on tags and from main

This commit is contained in:
Nicolai Ort 2020-12-22 15:45:47 +01:00
parent 6106288a5b
commit 302d0edc6e

View File

@ -8,7 +8,6 @@ steps:
commands: commands:
- git clone https://git.odit.services/lfk/backend backend - git clone https://git.odit.services/lfk/backend backend
- cd backend - cd backend
- git checkout dev
- name: run openapi export - name: run openapi export
image: node:alpine image: node:alpine
commands: commands:
@ -23,7 +22,7 @@ steps:
commands: commands:
- yarn - yarn
- yarn build - yarn build
# - npm --no-git-tag-version version ${SOURCE_TAG} - npm --no-git-tag-version version ${SOURCE_TAG}
- name: push to repo - name: push to repo
image: appleboy/drone-git-push image: appleboy/drone-git-push
settings: settings:
@ -43,5 +42,5 @@ steps:
trigger: trigger:
event: event:
include: exclude:
- push - push