Move scripts to a dedicated directory

(cherry picked from commit df59d6ca54dc5b4bf88f3ee81c2c09cc23d925b7)
This commit is contained in:
Nguyen Thai
2024-01-10 11:42:04 +07:00
committed by Dat H. Pham
parent 705a54ba5c
commit 3c7c7249d7
13 changed files with 57 additions and 29 deletions
+6
View File
@@ -0,0 +1,6 @@
#!/usr/bin/env sh
set -eux
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