Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
suhay authored Dec 25, 2020
1 parent f79e2e5 commit 2b85ef8
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,15 @@ API_TOKEN=YOUR_GITHUB_SECRET
└── my-site.json
```

```json
```js
my-site.json

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

0 comments on commit 2b85ef8

Please sign in to comment.