From 93779d6d213b2d0dd8b47aa8295494be571f5183 Mon Sep 17 00:00:00 2001 From: rida Date: Thu, 26 Nov 2026 19:36:18 +0200 Subject: [PATCH] docs: fix the invalid YAML in the regex activation and sync exec examples The regular expression activation example wrote ENV: "prod-\d+". In a double-quoted YAML string \d is an invalid escape, so the config does not load; single quotes keep the backslash for the regex. The sync.onUpload.exec example indented three keys with tabs. Signed-off-by: rida --- docs/pages/configuration/dev/connections/file-sync.mdx | 6 +++--- docs/pages/configuration/profiles/activation.mdx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/pages/configuration/dev/connections/file-sync.mdx b/docs/pages/configuration/dev/connections/file-sync.mdx index 348e8994d3..5eee189979 100644 --- a/docs/pages/configuration/dev/connections/file-sync.mdx +++ b/docs/pages/configuration/dev/connections/file-sync.mdx @@ -258,9 +258,9 @@ dev: - command: "touch abc.txt" # string | Command that should be executed after DevSpace made changes args: [] # string[] | Optional args that will force DevSpace to not execute the command in a shell failOnError: false # bool | If true, DevSpace will restart the sync if the command fails (default: false) - local: false # bool | If true, DevSpace will run the command locally instead of in the container (default: false) - onChange: ["package.json"] # string[] | Optional array of file patterns that will trigger this command - name: my-command # string | DevSpace will print this name instead of the command when executing + local: false # bool | If true, DevSpace will run the command locally instead of in the container (default: false) + onChange: ["package.json"] # string[] | Optional array of file patterns that will trigger this command + name: my-command # string | DevSpace will print this name instead of the command when executing ``` diff --git a/docs/pages/configuration/profiles/activation.mdx b/docs/pages/configuration/profiles/activation.mdx index 7f0ad69e69..621c359926 100644 --- a/docs/pages/configuration/profiles/activation.mdx +++ b/docs/pages/configuration/profiles/activation.mdx @@ -43,7 +43,7 @@ profiles: - name: production activation: - env: - ENV: "prod-\d+" + ENV: 'prod-\d+' patches: - op: replace path: images.backend.image