Add logging of JSON requests, CI and Dockerization #2

Merged
dorian merged 16 commits from axum-migration into main 2024-02-23 14:33:23 -05:00
1 changed files with 5 additions and 3 deletions
Showing only changes of commit 52aab1fae8 - Show all commits

View File

@ -51,10 +51,12 @@ steps:
- export PKG_FILENAME=$(basename $PKG_PATH)
- export PKG_NAME=$(basename $PKG_PATH | awk -F _ '{print $1}')
- export PKG_VERSION=$(basename $PKG_PATH | awk -F _ '{print $2}')
- echo $$PKG_FILENAME
- echo $$PKG_NAME v$$PKG_VERSION
- |
curl --user "${USERNAME}:${PASSWORD}" -X PUT
--upload-file "${PKG_PATH}"
"https://code.birch-tree.net/api/packages/${USERNAME}/generic/${PKG_NAME}/${PKG_VERSION}/${PKG_FILENAME}"
curl --user "$${USERNAME}:$${PASSWORD}" -X PUT
--upload-file "$${PKG_PATH}"
"https://code.birch-tree.net/api/packages/$${USERNAME}/generic/$${PKG_NAME}/$${PKG_VERSION}/$${PKG_FILENAME}"
environment:
USERNAME: dorian
PASSWORD: