From 6ccf0ee8b0eeb1e574c14eca553955e7521d5cef Mon Sep 17 00:00:00 2001 From: Thomas Gauvin <35609369+thomasgauvin@users.noreply.github.com> Date: Thu, 10 Oct 2024 11:56:28 +0100 Subject: [PATCH] Update src/content/docs/pages/functions/bindings.mdx --- src/content/docs/pages/functions/bindings.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/docs/pages/functions/bindings.mdx b/src/content/docs/pages/functions/bindings.mdx index 166b943788428a..8cb78a977c11c9 100644 --- a/src/content/docs/pages/functions/bindings.mdx +++ b/src/content/docs/pages/functions/bindings.mdx @@ -819,8 +819,8 @@ To add secrets to your Pages project: 3. Select your Pages project > select **Settings**. 4. Select your Pages environment > **Variables and Secrets** > **Add**. 5. Set a variable name and value. -5. Select **Encrypt** to create your secret. -6. Select **Save**. +6. Select **Encrypt** to create your secret. +7. Select **Save**. You use secrets the same way as environment variables. When setting secrets with Wrangler or in the Cloudflare dashboard, it needs to be done before a deployment that uses those secrets. For more guidance, refer to [Environment variables](#environment-variables).