Jebeni token
This commit is contained in:
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@@ -19,7 +19,7 @@ jobs:
|
|||||||
id: create_release
|
id: create_release
|
||||||
run: |
|
run: |
|
||||||
curl -X POST \
|
curl -X POST \
|
||||||
-H "Authorization: token ${{ secrets.GITEA_TOKEN }}" \
|
-H "Authorization: token ${{ secrets.JEBENI_TOKEN }}" \
|
||||||
-H "Accept: application/json" \
|
-H "Accept: application/json" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d '{
|
-d '{
|
||||||
@@ -33,11 +33,11 @@ jobs:
|
|||||||
- name: Upload Release Asset
|
- name: Upload Release Asset
|
||||||
run: |
|
run: |
|
||||||
RELEASE_ID=$(curl -s \
|
RELEASE_ID=$(curl -s \
|
||||||
-H "Authorization: token ${{ secrets.GITEA_TOKEN }}" \
|
-H "Authorization: token ${{ secrets.JEBENI_TOKEN }}" \
|
||||||
https://git.site.quack-lab.dev/api/v1/repos/dave/Heimdall/releases/tags/${{ github.ref_name }} | jq -r '.id')
|
https://git.site.quack-lab.dev/api/v1/repos/dave/Heimdall/releases/tags/${{ github.ref_name }} | jq -r '.id')
|
||||||
|
|
||||||
curl -X POST \
|
curl -X POST \
|
||||||
-H "Authorization: token ${{ secrets.GITEA_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 \
|
||||||
https://git.site.quack-lab.dev/api/v1/repos/dave/Heimdall/releases/${RELEASE_ID}/assets
|
https://git.site.quack-lab.dev/api/v1/repos/dave/Heimdall/releases/${RELEASE_ID}/assets
|
||||||
|
|||||||
Reference in New Issue
Block a user