forked from glenux/mfm
ci: enable debug
This commit is contained in:
parent
737f93245b
commit
2876269740
1 changed files with 4 additions and 3 deletions
|
@ -24,8 +24,8 @@ steps:
|
||||||
- name: publish:tag
|
- name: publish:tag
|
||||||
image: curlimages/curl
|
image: curlimages/curl
|
||||||
environment:
|
environment:
|
||||||
PACKAGE_UPLOAD_URL: https://code.apps.glenux.net/api/packages/glenux/generic/mfm
|
PACKAGE_UPLOAD_URL: https://code.apps.glenux.net/api/v1/packages/glenux/generic/mfm
|
||||||
RELEASES_URL: https://code.apps.glenux.net/api/repos/glenux/mfm/releases
|
RELEASES_URL: https://code.apps.glenux.net/api/v1/repos/glenux/mfm/releases
|
||||||
PACKAGE_BASENAME: mfm_linux_amd64
|
PACKAGE_BASENAME: mfm_linux_amd64
|
||||||
RELEASE_UPLOAD_TOKEN:
|
RELEASE_UPLOAD_TOKEN:
|
||||||
from_secret: RELEASE_UPLOAD_TOKEN
|
from_secret: RELEASE_UPLOAD_TOKEN
|
||||||
|
@ -45,7 +45,8 @@ steps:
|
||||||
--upload-file "/_cache/bin/$PACKAGE_BASENAME" \
|
--upload-file "/_cache/bin/$PACKAGE_BASENAME" \
|
||||||
"$PACKAGE_UPLOAD_URL/$DRONE_TAG/$PACKAGE_BASENAME"
|
"$PACKAGE_UPLOAD_URL/$DRONE_TAG/$PACKAGE_BASENAME"
|
||||||
- |
|
- |
|
||||||
curl -X 'POST' \
|
set -x
|
||||||
|
curl -X POST \
|
||||||
-H 'Authorization: token $RELEASE_UPLOAD_TOKEN' \
|
-H 'Authorization: token $RELEASE_UPLOAD_TOKEN' \
|
||||||
-H 'accept: application/json' \
|
-H 'accept: application/json' \
|
||||||
-H 'Content-Type: application/json' \
|
-H 'Content-Type: application/json' \
|
||||||
|
|
Loading…
Reference in a new issue