https://github.com/rabinzon/deploy-machine
https://github.com/rabinzon/deploy-machine
deploy javascript machine nodejs
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rabinzon/deploy-machine
- Owner: Rabinzon
- Created: 2016-11-17T21:05:28.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-05T14:13:06.000Z (about 9 years ago)
- Last Synced: 2025-01-26T16:44:13.697Z (12 months ago)
- Topics: deploy, javascript, machine, nodejs
- Language: JavaScript
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
### Deploy machine
This is a little helper script, that can execute command on machine from config by http post request.
How to run:
`PORT=3000 CONF=config.yaml npm start`
Example config, yaml file:
```yaml
-
url: w3fG0dfpSsc0yDEd9DQgkwrpwhL
exec: cd /home/dir && git pull
-
url: erdG0dsadfpSsc0yDEd9DQg
exec: touch file.txt
```