You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/includes/preview-configuration.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,11 @@
1
1
## Configuration
2
2
### Preview Templates
3
3
4
-
You have to provide a folder with the deployment configuration templates for every application you want to use this command for. By default it is assumed that this folder is located in your *deployment config repository* under the top-level folder `.preview-templates`. For example `.preview-templates/app-xy` for your app `app-xy`. The `create-preview` command simply copies this directory to the root of your *deployment config repository* and replaces e.g. image tag and route host which are specific to this preview.
4
+
You have to provide a folder with the deployment configuration templates for every application you want to use this command for.
5
+
6
+
By default it is assumed that this folder is located in your *deployment config repository* under the top-level folder `.preview-templates`. For example `.preview-templates/app-xy` for your app `app-xy`. The `create-preview` command simply copies this directory to your *deployment config repository* and replaces e.g. image tag and route host which are specific to this preview.
7
+
8
+
By default previews are created in the repository root. If `previewConfig.target.path` is set, previews are created below that path instead.
5
9
6
10
```
7
11
deployment-config-repo/
@@ -44,6 +48,7 @@ previewConfig:
44
48
target:
45
49
organisation: deployments
46
50
repository: deployment-config-repo
51
+
# path: custom/${APPLICATION_NAME} # optional (defaults to repo's root directory)
47
52
# branch: master # optional (defaults to repo's default branch)
0 commit comments