Change SERVER_URL to deployment PR success

(cherry picked from commit cf1ec9d3f9b6f1e757d8bb5c3dc632f9469fcc9c)
This commit is contained in:
dab246
2023-08-07 10:26:15 +07:00
committed by Dat Vu
parent fca8540ac3
commit f709bcb4d7
+1 -1
View File
@@ -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