diff --git a/.github/workflows/deploy-project.yaml b/.github/workflows/deploy-project.yaml
index 43c96ee4..17efb309 100644
--- a/.github/workflows/deploy-project.yaml
+++ b/.github/workflows/deploy-project.yaml
@@ -58,11 +58,10 @@ jobs:
- name: Test the Project
run: |
- echo ${{ env.HTTP_PROXY_HOST }}
- echo ${{ env.HTTP_PROXY_PORT }}
- echo ${{ env.HTTPS_PROXY_HOST }}
- echo ${{ env.HTTPS_PROXY_PORT }}
- envsubst < .m2/settings.xml
+ sed -i "s/HTTP_PROXY_HOST/${{ env.HTTP_PROXY_HOST }}/g" .m2/settings.xml
+ sed -i "s/HTTP_PROXY_PORT/${{ env.HTTP_PROXY_PORT }}/g" .m2/settings.xml
+ sed -i "s/HTTPS_PROXY_HOST/${{ env.HTTPS_PROXY_HOST }}/g" .m2/settings.xml
+ sed -i "s/HTTPS_PROXY_PORT/${{ env.HTTPS_PROXY_PORT }}/g" .m2/settings.xml
mvn ${{ env.MAVEN_CONFIG }} verify --fail-at-end
- name: Publish Test Report
diff --git a/.m2/settings.xml b/.m2/settings.xml
index 38610980..31d505bd 100644
--- a/.m2/settings.xml
+++ b/.m2/settings.xml
@@ -6,16 +6,16 @@
nb-proxy-http
true
http
- ${HTTP_PROXY_HOST}
- ${HTTP_PROXY_PORT}
+ HTTP_PROXY_HOST
+ HTTP_PROXY_PORT
localhost|127.0.0.1|docker
nb-proxy-https
true
https
- ${HTTPS_PROXY_HOST}
- ${HTTPS_PROXY_PORT}
+ HTTPS_PROXY_HOS}
+ HTTPS_PROXY_POR}
localhost|127.0.0.1|docker