Skip to content

Commit 2b85ef8

Browse files
authored
Update README.md
1 parent f79e2e5 commit 2b85ef8

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,15 @@ API_TOKEN=YOUR_GITHUB_SECRET
2727
└── my-site.json
2828
```
2929

30-
```json
30+
```js
3131
my-site.json
3232

3333
{
34-
"path": "/home/code/my-site",
34+
"path": "/home/code/my-site", // path where repository lives
35+
"cwd": "/home/user", // user path for nvm
36+
"node": "v12.7.0", // nvm node version to use, if .nvmrc is no supplied
3537
"release": {
36-
"build": "yarn && yarn build && tar -xvf {{release.sha}}.tar.gz", # you may use handlebar notation to inject GitHub payload values into your steps
38+
"build": "yarn && yarn build && tar -xvf {{release.sha}}.tar.gz", // you may use handlebar notation to inject GitHub payload values into your steps
3739
"deploy": "rsync -av --delete public/ /var/www/html/my-site",
3840
"cleanup": "rm -rf node_modules/ && rm -rf .cache/ && yarn cache clean"
3941
}
@@ -78,4 +80,4 @@ Within your Apache2 `.conf`
7880
```bash
7981
ProxyPass /webhooks http://localhost:5000/webhooks
8082
ProxyPassReverse /webhooks https://localhost:5000/webhooks
81-
```
83+
```

0 commit comments

Comments
 (0)