File tree 1 file changed +6
-4
lines changed 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -27,13 +27,15 @@ API_TOKEN=YOUR_GITHUB_SECRET
27
27
└── my-site.json
28
28
```
29
29
30
- ``` json
30
+ ``` js
31
31
my- site .json
32
32
33
33
{
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
35
37
" 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
37
39
" deploy" : " rsync -av --delete public/ /var/www/html/my-site" ,
38
40
" cleanup" : " rm -rf node_modules/ && rm -rf .cache/ && yarn cache clean"
39
41
}
@@ -78,4 +80,4 @@ Within your Apache2 `.conf`
78
80
``` bash
79
81
ProxyPass /webhooks http://localhost:5000/webhooks
80
82
ProxyPassReverse /webhooks https://localhost:5000/webhooks
81
- ```
83
+ ```
You can’t perform that action at this time.
0 commit comments