Update '.drone.yml'
This commit is contained in:
parent
be4d4b6e78
commit
ce67273e0a
1 changed files with 9 additions and 10 deletions
17
.drone.yml
17
.drone.yml
|
@ -6,13 +6,12 @@ steps:
|
|||
commands:
|
||||
- env
|
||||
|
||||
- name: publish package
|
||||
image: alpine/curl
|
||||
commands:
|
||||
- env
|
||||
- "curl --fail --user $GITEA_USER:$GITEA_TOKEN --upload-file CHANGELOG https://itsblue.dev/api/packages/dorian/generic/test/preview-${DRONE_COMMIT_SHA}/CHANGELOG"
|
||||
environment:
|
||||
GITEA_USER:
|
||||
from_secret: gitea-user
|
||||
GITEA_TOKEN:
|
||||
- name: release
|
||||
image: plugins/gitea-release
|
||||
settings:
|
||||
base_url: https://itsblue.dev
|
||||
api_key:
|
||||
from_secret: gitea-token
|
||||
files: [CHANGELOG, README.md]
|
||||
when:
|
||||
event: tag
|
Loading…
Reference in a new issue