File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -136,9 +136,21 @@ jobs:
136136 -H "Content-Type: application/vnd.debian.binary-package" \
137137 --data-binary @"$FILE_PATH" \
138138 "$UPLOAD_URL?name=$FILE_NAME"
139-
139+
140+ - name : Upload to APT repository
141+ env :
142+ DEPLOY_TOKEN : ${{ secrets.BS_UPLOAD_KEY }}
143+ run : |
144+ FILENAME="artifacts/${{ matrix.os }}/${{ matrix.version }}/robotkernel-service-helper_${{ steps.sanitize.outputs.sanitized_image }}.deb"
145+
146+ curl -X POST https://deb.burger-system.de/upload \
147+ -H "Authorization: Bearer $DEPLOY_TOKEN" \
148+ -F "deb=@../${FILENAME}"
149+ # -F "changes=@../yourpackage.changes" \
150+ # -F "dsc=@../yourpackage.dsc"
151+
140152 - name : Upload to Cloudsmith (${{ matrix.os }}/${{ matrix.version }})
141- # if: startsWith(github.ref, 'refs/tags/')
153+ if : startsWith(github.ref, 'refs/tags/')
142154 env :
143155 CLOUDSMITH_API_KEY : ${{ secrets.CLOUDSMITH_API_KEY }}
144156 shell : bash
You can’t perform that action at this time.
0 commit comments