Skip to content

Commit 0110a2e

Browse files
author
Peter Christian Glade (FG-752)
committed
enterprise url fixed
1 parent 8a536cc commit 0110a2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ main() {
7373

7474
if [[ -z "$REPO_URL" ]]; then
7575
if [[ -z "$ENTERPRISE_URL" ]]; then
76-
REPO_URL="https://x-access-token:${GITHUB_TOKEN}@${ENTERPRISE_URL}/${REPOSITORY}"
77-
else
7876
REPO_URL="https://x-access-token:${GITHUB_TOKEN}@github.com/${OWNER}/${REPOSITORY}"
77+
else
78+
REPO_URL="https://x-access-token:${GITHUB_TOKEN}@${ENTERPRISE_URL}/${REPOSITORY}"
7979
fi
8080
fi
8181

0 commit comments

Comments
 (0)