From 8b063cce32f67d7ea5a86a19315159979bcaa61e Mon Sep 17 00:00:00 2001 From: Anni Wang Date: Thu, 19 Sep 2024 12:43:53 -0400 Subject: [PATCH] redirect and link updates --- public/_redirects | 1 + src/content/docs/workers/ci-cd/builds/build-configuration.mdx | 2 +- src/content/docs/workers/ci-cd/builds/build-image.mdx | 2 +- src/content/docs/workers/wrangler/commands.mdx | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/public/_redirects b/public/_redirects index 66f4881eb45300..942a40dc069e51 100644 --- a/public/_redirects +++ b/public/_redirects @@ -1436,6 +1436,7 @@ /workers/observability/local-development-and-testing/ /workers/testing/local-development/ 301 /workers/configuration/deployments/ /workers/configuration/versions-and-deployments/ 301 /workers/configuration/continuous-integration/ /workers/ci-cd/ 301 +/workers/wrangler/ci-cd/ /workers/ci-cd/external-cicd/ 301 /workers/tutorials/hello-world-rust/ /workers/tutorials/ 301 /workers/tutorials/introduction-to-cloudflare-workers/ https://www.youtube.com/watch?v=H7Qe96fqg1M 301 /workers/configuration/bindings/about-service-bindings/ /workers/runtime-apis/bindings/service-bindings/ 301 diff --git a/src/content/docs/workers/ci-cd/builds/build-configuration.mdx b/src/content/docs/workers/ci-cd/builds/build-configuration.mdx index 2ec2644c415797..3c0fef0ab4e91e 100644 --- a/src/content/docs/workers/ci-cd/builds/build-configuration.mdx +++ b/src/content/docs/workers/ci-cd/builds/build-configuration.mdx @@ -19,7 +19,7 @@ Build settings can be found on the Settings page of your Worker. The following o - **Git branch** - Select the branch you would like Cloudflare to listen to for new commits. This will be defaulted to main. - **Build command** _(Optional)_ - - Add a build command if your project requires a build step. This is necessary, for example, when building with assets. Reference supported [frameworks](/workers/frameworks/) for correct build command. + - Add a build command if your project requires a build step. This is necessary, for example, when building with assets. - **Deploy command** - The deploy command lets you choose the specific Wrangler command you would like to use to deploy your Worker. Your deploy command is defaulted to `npx wrangler deploy`, but it can be customized as needed. You can also upload as a version and take advantage of [gradual deployments](/workers/configuration/versions-and-deployments/gradual-deployments/). - **Root Directory** _(Optional)_ diff --git a/src/content/docs/workers/ci-cd/builds/build-image.mdx b/src/content/docs/workers/ci-cd/builds/build-image.mdx index 6a06fc2a4049b7..9ee58ea4638e50 100644 --- a/src/content/docs/workers/ci-cd/builds/build-image.mdx +++ b/src/content/docs/workers/ci-cd/builds/build-image.mdx @@ -4,7 +4,7 @@ title: Build Image description: Understand the build image used in Workers Builds. --- -Workers Builds' build environment has broad support for a variety of languages, such as Ruby, Node.js, Python, PHP, and Go. +The build environment has broad support for a variety of languages, such as Ruby, Node.js, Python, PHP, and Go. If you need to use a [specific version](/workers/ci-cd/builds/build-image/#overriding-default-versions) of a language, (for example, Node.js or Ruby) you can specify it by providing an associated environment variable in your build configuration, or setting the relevant file in your source code. diff --git a/src/content/docs/workers/wrangler/commands.mdx b/src/content/docs/workers/wrangler/commands.mdx index 19db7d49300aee..8742c424f3615f 100644 --- a/src/content/docs/workers/wrangler/commands.mdx +++ b/src/content/docs/workers/wrangler/commands.mdx @@ -1714,7 +1714,7 @@ wrangler queues consumer remove Authorize Wrangler with your Cloudflare account using OAuth. Wrangler will attempt to automatically open your web browser to login with your Cloudflare account. -If you prefer to use API tokens for authentication, such as in headless or continuous integration environments, refer to [Running Wrangler in CI/CD](workers/ci-cd/index/). +If you prefer to use API tokens for authentication, such as in headless or continuous integration environments, refer to [Running Wrangler in CI/CD](/workers/ci-cd/). ```txt wrangler login [OPTIONS]