Skip to content

Commit 4ccf5d2

Browse files
authored
Update API URL to use GITHUB_API_URL variable
1 parent 384a0af commit 4ccf5d2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/wait-for-pages-deployment.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ wait_for_pages_deployment() {
5151
-H "Authorization: Bearer $TOKEN" \
5252
-H "Accept: application/vnd.github+json" \
5353
-H "X-GitHub-Api-Version: 2022-11-28" \
54-
"https://api.github.com/repos/$REPO/pages/builds?per_page=100"
54+
"$GITHUB_API_URL/repos/$REPO/pages/builds?per_page=100"
5555
)
5656

5757
# Get the build ID for this commit SHA if present

0 commit comments

Comments
 (0)