From f709bcb4d78a3206cc5584bf858ef3ea5f87fe8c Mon Sep 17 00:00:00 2001 From: dab246 Date: Mon, 7 Aug 2023 10:26:15 +0700 Subject: [PATCH] Change `SERVER_URL` to deployment PR success (cherry picked from commit cf1ec9d3f9b6f1e757d8bb5c3dc632f9469fcc9c) --- .github/workflows/pr-deployments.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-deployments.yaml b/.github/workflows/pr-deployments.yaml index fd7268f54..43cf467cb 100644 --- a/.github/workflows/pr-deployments.yaml +++ b/.github/workflows/pr-deployments.yaml @@ -34,7 +34,7 @@ jobs: env: FOLDER: ${{ github.event.pull_request.number }} run: | - sed -i "s|SERVER_URL=.*|SERVER_URL=https://gateway.upn.integration-open-paas.org/|g" env.file + sed -i "s|SERVER_URL=.*|SERVER_URL=https://apisix.upn.integration-open-paas.org/|g" env.file sed -i "s|DOMAIN_REDIRECT_URL=.*|DOMAIN_REDIRECT_URL=https://$GITHUB_REPOSITORY_OWNER.github.io/${GITHUB_REPOSITORY##*/}/$FOLDER|g" env.file echo "URL=https://$GITHUB_REPOSITORY_OWNER.github.io/${GITHUB_REPOSITORY##*/}/$FOLDER" >> $GITHUB_OUTPUT