We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7310972 commit d58ed2eCopy full SHA for d58ed2e
Makefile.core.mk
@@ -83,6 +83,10 @@ ifeq ($(CURRENT_BRANCH),master)
83
else ifneq ($(filter release-%, $(CURRENT_BRANCH)),)
84
baseurl := https://istio.io/latest
85
86
+# If the CONTEXT environment variable is set to deploy-preview, we use the DEPLOY_PRIME_URL as the base URL
87
+else ifneq ($(CONTEXT),deploy-preview)
88
+ baseurl := $(DEPLOY_PRIME_URL)/latest
89
+
90
# If the current branch is not master or release branch, we use /latest as the base URL
91
# This is useful for feature branches or pull requests and deploy-preview
92
else
0 commit comments