Fixed deb CI
This commit is contained in:
6
.github/workflows/deb-publish.yml
vendored
6
.github/workflows/deb-publish.yml
vendored
@@ -55,9 +55,11 @@ jobs:
|
|||||||
|
|
||||||
- name: Publish to Gitea APT registry
|
- name: Publish to Gitea APT registry
|
||||||
run: |
|
run: |
|
||||||
curl --fail-with-body \
|
TARGET_URL="${{ secrets.PKG_REGISTRY_URL }}/api/packages/${{ secrets.PKG_OWNER }}/debian/pool/noble/main"
|
||||||
|
echo "Uploading to: $TARGET_URL"
|
||||||
|
curl --fail-with-body -v \
|
||||||
-X PUT \
|
-X PUT \
|
||||||
-H "Authorization: token ${{ secrets.PKG_TOKEN }}" \
|
-H "Authorization: token ${{ secrets.PKG_TOKEN }}" \
|
||||||
-H "Content-Type: application/octet-stream" \
|
-H "Content-Type: application/octet-stream" \
|
||||||
--upload-file "${{ steps.deb.outputs.path }}" \
|
--upload-file "${{ steps.deb.outputs.path }}" \
|
||||||
"${{ secrets.PKG_REGISTRY_URL }}/api/packages/${{ secrets.PKG_OWNER }}/debian/pool/noble/main"
|
"$TARGET_URL"
|
||||||
|
|||||||
Reference in New Issue
Block a user