Change SERVER_URL to deployment PR success
(cherry picked from commit cf1ec9d3f9b6f1e757d8bb5c3dc632f9469fcc9c)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user