fix(action): added gh token
This commit is contained in:
parent
cc6928cd3f
commit
105fb15d79
1 changed files with 2 additions and 1 deletions
|
@ -79,6 +79,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
NEW_RELEASE: ${{ needs.release_tag.outputs.release }}
|
NEW_RELEASE: ${{ needs.release_tag.outputs.release }}
|
||||||
|
GH_TOKEN: "${{ secrets.GH_TOKEN }}"
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
@ -128,4 +129,4 @@ jobs:
|
||||||
echo "$body"
|
echo "$body"
|
||||||
|
|
||||||
# Create release
|
# Create release
|
||||||
curl -d "{\"body\": \"$body\", \"tag_name\": \"$RELEASE\", \"target_commitish\": \"main\" }" https://git.smail.koeln/api/v1/repos/homelab/docker-ownDynDNS-netcup/release -H "Authorization: token ${{ secrets.GH_TOKEN }}" -H "Content-Type: application/json"
|
curl -d "{\"body\": \"$body\", \"tag_name\": \"$RELEASE\", \"target_commitish\": \"main\" }" https://git.smail.koeln/api/v1/repos/homelab/docker-ownDynDNS-netcup/release -H "Authorization: token $GH_TOKEN" -H "Content-Type: application/json"
|
Loading…
Add table
Add a link
Reference in a new issue