änderung url in realase.yaml

This commit is contained in:
2025-05-28 20:22:35 +02:00
parent bd41d4de23
commit 1f97ae91a2

View File

@ -24,15 +24,15 @@ jobs:
- name: Create Release on Gitea
env:
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
GITEA_TOKEN: ${{ secrets.GIT_TOKEN }}
run: |
TAG=$(git describe --tags)
REPO=${GITEA_REPOSITORY#*/}
OWNER=${GITEA_REPOSITORY%/*}
BODY=$(cat RELEASE_NOTES.md | jq -Rs .)
curl -X POST "https://gitea.example.com/api/v1/repos/$OWNER/$REPO/releases" \
-H "Authorization: token $GITEA_TOKEN" \
curl -X POST "https://dev.ksite.de/api/v1/repos/$OWNER/$REPO/releases" \
-H "Authorization: token $GIT_TOKEN" \
-H "Content-Type: application/json" \
-d "{
\"tag_name\": \"$TAG\",