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