Skip to content

Commit 9e0287f

Browse files
jhuleattYuangwang
andauthored
Fix typo in example bundle.yaml (#289)
* Fix typo in example bundle.yaml * change field names I checked the source and this is what it expects * change runCommand to string * format as yaml for readability --------- Co-authored-by: Yuangwang <[email protected]>
1 parent 0dfda0e commit 9e0287f

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

README.md

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -108,16 +108,12 @@ interface Metadata {
108108
| `framework` | `string` | Name of the framework that is being supported | y |
109109
| `frameworkVersion` | `string` |Version of the framework that is being supported | n |
110110

111-
Here is a sample `bundle.yaml` file putting all this together:
112-
113-
```
114-
> cat .apphosting/bundle.yaml
111+
Here is a sample `.apphosting/bundle.yaml` file putting all this together:
115112

113+
```yaml
116114
version: v1
117115
runConfig:
118-
runCommand:
119-
- node
120-
- dist/index.js
116+
runCommand: 'node dist/index.js'
121117
environmentVariables:
122118
- variable: VAR
123119
value: 8080
@@ -129,11 +125,10 @@ runConfig:
129125
maxInstances: 14
130126

131127
metadata:
132-
adapterNpmPackageName: npm-name
128+
adapterPackageName: npm-name
133129
adapterVersion: 12.0.0
134-
frameworkNpmPackageName: framework-name
135-
adapterVersion: 1.0.0
136-
130+
framework: framework-name
131+
frameworkVersion: 1.0.0
137132
```
138133
139134
As long as you have the `bundle.yaml` in this format, App Hosting will be able to deploy any framework that supports server side rendering.

0 commit comments

Comments
 (0)