feat: fix drone config 15 #6
28
.drone.yml
28
.drone.yml
|
@ -99,6 +99,14 @@ trigger:
|
||||||
branch:
|
branch:
|
||||||
include:
|
include:
|
||||||
- main
|
- main
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
- pull_request
|
||||||
|
action:
|
||||||
|
include:
|
||||||
|
- opened
|
||||||
|
- reopened
|
||||||
|
- synchronized
|
||||||
|
|
||||||
clone:
|
clone:
|
||||||
disable: true
|
disable: true
|
||||||
|
@ -122,14 +130,6 @@ steps:
|
||||||
- docker-compose down
|
- docker-compose down
|
||||||
- docker-compose up -d --build --force-recreate
|
- docker-compose up -d --build --force-recreate
|
||||||
- docker image prune -f
|
- docker image prune -f
|
||||||
when:
|
|
||||||
event:
|
|
||||||
- pull_request
|
|
||||||
action:
|
|
||||||
include:
|
|
||||||
- opened
|
|
||||||
- reopened
|
|
||||||
- synchronized
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -154,9 +154,9 @@ clone:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: semantic-release
|
- name: semantic-release
|
||||||
image: gtramontina/semantic-release:17.4.3
|
image: entwico/semantic-release-drone
|
||||||
environment:
|
settings:
|
||||||
GITHUB_TOKEN:
|
git_login:
|
||||||
from_secret: gitea_token
|
from_secret: gitea_user
|
||||||
entrypoint:
|
git_password:
|
||||||
- semantic-release
|
from_secret: gitea_password
|
Loading…
Reference in New Issue