fix: use GITEA_SERVER_URL instead of GITHUB_SERVER_URL in release workflow
This commit is contained in:
@@ -41,7 +41,7 @@ jobs:
|
||||
VERSION="${{ steps.version.outputs.version }}"
|
||||
TAG="${{ steps.version.outputs.tag }}"
|
||||
REPO="${GITHUB_REPOSITORY}"
|
||||
API_URL="${GITHUB_SERVER_URL}/api/v1"
|
||||
API_URL="${GITEA_SERVER_URL}/api/v1"
|
||||
|
||||
# Create the versioned release
|
||||
RELEASE=$(curl -s -X POST "${API_URL}/repos/${REPO}/releases" \
|
||||
@@ -112,7 +112,7 @@ jobs:
|
||||
run: |
|
||||
TAG="release"
|
||||
REPO="${GITHUB_REPOSITORY}"
|
||||
API_URL="${GITHUB_SERVER_URL}/api/v1"
|
||||
API_URL="${GITEA_SERVER_URL}/api/v1"
|
||||
VERSION="${{ needs.build.outputs.version }}"
|
||||
|
||||
# Check if the rolling release already exists
|
||||
|
||||
Reference in New Issue
Block a user