diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 1c1f6c1..891dea1 100755 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -79,6 +79,7 @@ jobs: runs-on: ubuntu-latest env: NEW_RELEASE: ${{ needs.release_tag.outputs.release }} + GH_TOKEN: "${{ secrets.GH_TOKEN }}" steps: - name: Checkout uses: actions/checkout@v4 @@ -128,4 +129,4 @@ jobs: echo "$body" # 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" \ No newline at end of file + 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" \ No newline at end of file