diff --git a/scripts/ci/build-fakeyou.com.sh b/scripts/ci/build-fakeyou.com.sh index b9b6cf211..5950f064c 100755 --- a/scripts/ci/build-fakeyou.com.sh +++ b/scripts/ci/build-fakeyou.com.sh @@ -53,6 +53,7 @@ mv src/website/packages/fakeyou.com/build/* fakeyou.com/website/ echo "Copying redirects configuration to Netlify build dir..." cp src/netlify_configs/fakeyou.com/_redirects fakeyou.com/ cp src/netlify_configs/fakeyou.com/netlify.toml fakeyou.com/ +cp src/netlify_configs/fakeyou.com/netlify.toml / echo "List files in build directory" find fakeyou.com/ diff --git a/scripts/ci/build-storyteller.ai.sh b/scripts/ci/build-storyteller.ai.sh index 09bee0745..73b5fa437 100755 --- a/scripts/ci/build-storyteller.ai.sh +++ b/scripts/ci/build-storyteller.ai.sh @@ -54,6 +54,7 @@ mv src/website/packages/fakeyou.com/build/* storyteller.ai/website/ echo "Copying redirects configuration to Netlify build dir..." cp src/netlify_configs/storyteller.ai/_redirects storyteller.ai/ cp src/netlify_configs/storyteller.ai/netlify.toml storyteller.ai/ +cp src/netlify_configs/storyteller.ai/netlify.toml / echo "List files in build directory" find storyteller.ai/ diff --git a/src/netlify_configs/fakeyou.com/netlify.toml b/src/netlify_configs/fakeyou.com/netlify.toml index 65023830a..acd646fb6 100644 --- a/src/netlify_configs/fakeyou.com/netlify.toml +++ b/src/netlify_configs/fakeyou.com/netlify.toml @@ -11,6 +11,9 @@ YARN_VERSION = "3.3.1" # https://www.getzola.org/documentation/deployment/netlify/ ZOLA_VERSION = "0.19.1" +# TODO: This is just temporary for testing the build +TESTING_TEST = "1.2.3" + [[redirects]] # NB: storyteller.ai replaces storyteller.io from = "https://storyteller.io/*" @@ -21,7 +24,7 @@ force = true [[redirects]] # NB: storyteller.ai replaces storyteller.io from = "https://staging.storyteller.io/*" -to = "https://staging.storyteller.ai/:splat?from=staging.storyteller.io" +to = "https://staging.storyteller.ai/:splat?from=staging.storyteller.io&test=testing1" status = 301 force = true diff --git a/src/netlify_configs/storyteller.ai/netlify.toml b/src/netlify_configs/storyteller.ai/netlify.toml index d48c37af1..122da14e4 100644 --- a/src/netlify_configs/storyteller.ai/netlify.toml +++ b/src/netlify_configs/storyteller.ai/netlify.toml @@ -11,6 +11,9 @@ YARN_VERSION = "3.3.1" # https://www.getzola.org/documentation/deployment/netlify/ ZOLA_VERSION = "0.19.1" +# TODO: This is just temporary for testing the build +TESTING_TEST = "1.2.3" + [[redirects]] # NB: storyteller.ai replaces storyteller.io from = "https://storyteller.io/*" @@ -21,7 +24,7 @@ force = true [[redirects]] # NB: storyteller.ai replaces storyteller.io from = "https://staging.storyteller.io/*" -to = "https://staging.storyteller.ai/:splat?from=staging.storyteller.io" +to = "https://staging.storyteller.ai/:splat?from=staging.storyteller.io&test=testing2" status = 301 force = true