https://github.com/blocka/parsejs-deploy-webhook
A github wehook to deploy to parsejs
https://github.com/blocka/parsejs-deploy-webhook
Last synced: 11 months ago
JSON representation
A github wehook to deploy to parsejs
- Host: GitHub
- URL: https://github.com/blocka/parsejs-deploy-webhook
- Owner: blocka
- Created: 2014-07-18T13:05:44.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-07-18T13:06:45.000Z (almost 12 years ago)
- Last Synced: 2025-03-21T10:51:20.849Z (about 1 year ago)
- Language: PHP
- Size: 121 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Github webhook to deploy to parsejs
Working in a team with parsejs cloud code is really not a good idea.
One `parse deploy` and you've probably ruined a co-worker's day.
With this hook just force any teammembers (any method of force is ok...including threat of blunt objects), to push to a github branch, and this hook will automatically deploy to parse for you, insuring that everybody is working on the same thing.
Look...this is the best we could come up with.
Anyway, simply put the hook on any php-enabled web server that github can talk to, and let it roll.
Currently, the hook matches the pushed branch to a parsejs application, so either push to a branch with the name of your application, or modify the parse `global.json` to point to your branch:
```javascript
"applications": {
"_default": {
"link": "master"
},
"master": {
"applicationId": "###################",
"masterKey": "#####################"
}
},
```