2022-07-23 20:48:50 +02:00
|
|
|
kind: pipeline
|
|
|
|
name: default
|
|
|
|
steps:
|
|
|
|
- name: env
|
|
|
|
image: ubuntu
|
|
|
|
commands:
|
2022-07-30 13:53:30 +02:00
|
|
|
- env
|
|
|
|
|
|
|
|
- name: publish package
|
|
|
|
image: alpine/curl
|
|
|
|
commands:
|
|
|
|
- env
|
2022-07-30 14:02:38 +02:00
|
|
|
- "curl --fail --user $GITEA_USER:$GITEA_TOKEN --upload-file CHANGELOG https://itsblue.dev/api/packages/dorian/generic/test/v${DRONE_COMMIT_SHA}/CHANGELOG"
|
2022-07-30 13:53:30 +02:00
|
|
|
environment:
|
|
|
|
GITEA_USER:
|
|
|
|
from_secret: gitea-user
|
|
|
|
GITEA_TOKEN:
|
|
|
|
from_secret: gitea-token
|