Skip to content

Commit 36de5a6

Browse files
committed
docs: fix activation page
1 parent 3c202b8 commit 36de5a6

1 file changed

Lines changed: 7 additions & 11 deletions

File tree

docs/pages/configuration/profiles/activation.mdx

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ The `activation` option is optional and allows you to activate a profile using r
99
#### Example: Defining a Profile Activation using `vars`
1010
```yaml {1-3,7-8}
1111
vars:
12-
- name: ENV
13-
default: development
12+
ENV:
13+
default: development
1414
profiles:
1515
- name: production
1616
activation:
@@ -92,24 +92,20 @@ When `dependencies` are referenced from a `devspace.yaml`, the dependency's prof
9292

9393
```yaml
9494
dependencies:
95-
- name: component-1
96-
source:
95+
component-1:
9796
path: ./component-1
98-
- name: component-2
99-
source:
97+
component-2:
10098
path: ./component-2
10199
```
102100

103101
#### Example: Disable Activations by Dependency
104102
The `disableProfileActivation` option can be used to disable profile activations for specific dependencies. In the following example, the activations for `./component-1/devspace.yaml` would be ignored, while the activations in `./component-2/devspace.yaml` would be evaluated:
105103
```yaml {5}
106104
dependencies:
107-
- name: component-1
108-
source:
105+
component-1:
109106
path: ./component-1
110-
disableProfileActivation: true
111-
- name: component-2
112-
source:
107+
disableProfileActivation: true
108+
component-2:
113109
path: ./component-2
114110
```
115111

0 commit comments

Comments
 (0)