This commit is contained in:
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@@ -27,16 +27,16 @@ jobs:
|
|||||||
"draft": false,
|
"draft": false,
|
||||||
"prerelease": false
|
"prerelease": false
|
||||||
}' \
|
}' \
|
||||||
http://git.site.quack-lab.dev/api/v1/repos/dave/Heimdall/releases
|
http://srv-captain--git:3000/api/v1/repos/dave/wow-Heimdall/releases
|
||||||
|
|
||||||
- name: Upload Release Asset
|
- name: Upload Release Asset
|
||||||
run: |
|
run: |
|
||||||
RELEASE_ID=$(curl -s \
|
RELEASE_ID=$(curl -s \
|
||||||
-H "Authorization: token ${{ secrets.JEBENI_TOKEN }}" \
|
-H "Authorization: token ${{ secrets.JEBENI_TOKEN }}" \
|
||||||
http://git.site.quack-lab.dev/api/v1/repos/dave/Heimdall/releases/tags/${{ github.ref_name }} | jq -r '.id')
|
http://srv-captain--git:3000/api/v1/repos/dave/wow-Heimdall/releases/tags/${{ github.ref_name }} | jq -r '.id')
|
||||||
|
|
||||||
curl -X POST \
|
curl -X POST \
|
||||||
-H "Authorization: token ${{ secrets.JEBENI_TOKEN }}" \
|
-H "Authorization: token ${{ secrets.JEBENI_TOKEN }}" \
|
||||||
-H "Content-Type: application/zip" \
|
-H "Content-Type: application/zip" \
|
||||||
--data-binary @Heimdall.zip \
|
--data-binary @Heimdall.zip \
|
||||||
http://git.site.quack-lab.dev/api/v1/repos/dave/Heimdall/releases/${RELEASE_ID}/assets
|
http://srv-captain--git:3000/api/v1/repos/dave/wow-Heimdall/releases/${RELEASE_ID}/assets
|
||||||
|
Reference in New Issue
Block a user