Update '.drone.yml'
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Dorian Zedler 2022-08-05 09:09:39 +02:00
parent be4d4b6e78
commit ce67273e0a

View file

@ -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:
from_secret: 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