Closed timkelty closed 11 months ago
Yeah, this is awesome. For our site, I was able to directly use the @artifactBaseUrl
alias, then set CRAFT_CLOUD_ARTIFACT_BASE_URL
and get exactly the behavior I expected.
I've made some more updates to the Build Process and Artifacts article to reflect our intent and these new capabilities!
@AugustMiller can you try this branch and see how it feels
dev-artifactBaseUrl
?You can set
CRAFT_CLOUD_ARTIFACT_BASE_URL
in env, orartifactBaseUrl
inconfig/cloud.php
. Then you should be able to drop your ternary and useartifactUrl
everywhere.Related: https://github.com/craftcms/cloud-extension-yii2/issues/15