ci: add publish to pipeline
This commit is contained in:
parent
31f14aac47
commit
893eb3aa8c
19
.drone.yml
19
.drone.yml
@ -22,6 +22,15 @@ steps:
|
|||||||
- name: poetry_cache
|
- name: poetry_cache
|
||||||
path: /root/.cache/pypoetry
|
path: /root/.cache/pypoetry
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- name: poetry_cache
|
||||||
|
host:
|
||||||
|
path: /tmp/cache/drone/pypoetry
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
name: publish
|
||||||
|
|
||||||
|
steps:
|
||||||
- name: publish
|
- name: publish
|
||||||
image: python:3.7.2
|
image: python:3.7.2
|
||||||
commands:
|
commands:
|
||||||
@ -31,11 +40,17 @@ steps:
|
|||||||
- poetry run semantic-release publish --noop
|
- poetry run semantic-release publish --noop
|
||||||
environment:
|
environment:
|
||||||
LOGLEVEL: info
|
LOGLEVEL: info
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: poetry_cache
|
- name: poetry_cache
|
||||||
path: /root/.cache/pypoetry
|
path: /root/.cache/pypoetry
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- master
|
||||||
|
event:
|
||||||
|
- push
|
||||||
|
depends_on:
|
||||||
|
- run_tests
|
||||||
volumes:
|
volumes:
|
||||||
- name: poetry_cache
|
- name: poetry_cache
|
||||||
host:
|
host:
|
||||||
path: /tmp/cache/drone/pypoetry
|
path: /tmp/cache/drone/pypoetry
|
Loading…
Reference in New Issue
Block a user