File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 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
2727 └── my-site.json
2828```
2929
30- ``` json
30+ ``` js
3131my- 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
7981ProxyPass /webhooks http://localhost:5000/webhooks
8082ProxyPassReverse /webhooks https://localhost:5000/webhooks
81- ```
83+ ```
You can’t perform that action at this time.
0 commit comments