try new api url
All checks were successful
Build and publish CMBA rulebooks (Gitea) / build-release (push) Successful in 1m18s
All checks were successful
Build and publish CMBA rulebooks (Gitea) / build-release (push) Successful in 1m18s
This commit is contained in:
3
.github/workflows/release-docs.yml
vendored
3
.github/workflows/release-docs.yml
vendored
@@ -57,11 +57,12 @@ jobs:
|
|||||||
|
|
||||||
OWNER="$(echo "$REPO" | cut -d/ -f1)"
|
OWNER="$(echo "$REPO" | cut -d/ -f1)"
|
||||||
NAME="$(echo "$REPO" | cut -d/ -f2)"
|
NAME="$(echo "$REPO" | cut -d/ -f2)"
|
||||||
API="${GITEA_BASE_URL}/api/v1"
|
API="${GITHUB_API_URL}"
|
||||||
AUTH="Authorization: token ${GITEA_TOKEN}"
|
AUTH="Authorization: token ${GITEA_TOKEN}"
|
||||||
|
|
||||||
echo "Repo: $OWNER/$NAME"
|
echo "Repo: $OWNER/$NAME"
|
||||||
echo "Tag: $TAG"
|
echo "Tag: $TAG"
|
||||||
|
echo "API: $API"
|
||||||
|
|
||||||
# Check if release exists for this tag
|
# Check if release exists for this tag
|
||||||
existing_release_json="$(curl -sS -H "$AUTH" \
|
existing_release_json="$(curl -sS -H "$AUTH" \
|
||||||
|
|||||||
Reference in New Issue
Block a user