From 0110a2eb76c661ea7bd2be1a83e2b863db385478 Mon Sep 17 00:00:00 2001 From: "Peter Christian Glade (FG-752)" Date: Mon, 14 Feb 2022 10:25:50 +0100 Subject: [PATCH] enterprise url fixed --- src/entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/entrypoint.sh b/src/entrypoint.sh index 39509e8..7d406df 100644 --- a/src/entrypoint.sh +++ b/src/entrypoint.sh @@ -73,9 +73,9 @@ main() { if [[ -z "$REPO_URL" ]]; then if [[ -z "$ENTERPRISE_URL" ]]; then - REPO_URL="https://x-access-token:${GITHUB_TOKEN}@${ENTERPRISE_URL}/${REPOSITORY}" - else REPO_URL="https://x-access-token:${GITHUB_TOKEN}@github.com/${OWNER}/${REPOSITORY}" + else + REPO_URL="https://x-access-token:${GITHUB_TOKEN}@${ENTERPRISE_URL}/${REPOSITORY}" fi fi