gitnodeploy

1.0.0 • Public • Published

GitNoDeploy

Small node.js HTTP server
it allows you to deploy your repos into your server everytime you push a change.

Configure

  • First of all install Node.js into your server
  • Rename GitNoDeploy-config-example.json to GitNoDeploy-config.json and edit it.
  • port: [Default: 2001]
  • quiet: Set to false to mute the script
  • repos: Array of your repos:
    • url: url exactly where the script can find your repo
    • path: path exactly where is your repo dir
    • after: Array of commands to execute after updating
  • On the github page go to a repository, then "Admin", "Webhooks & Services", "Webhooks/Manage" and add the url of your server + port (e.g. http://example:2001), after that select application/vnd.github.v3+json payload version and update webhooks.

About

Author: Domenico Leone Luciani

Site: DLion

License

Copyright © 2014 Domenico Luciani domenicoleoneluciani@gmail.com
This work is free. You can redistribute it and/or modify it under the
terms of the Do What The Fuck You Want To Public License, Version 2,
as published by Sam Hocevar. See http://www.wtfpl.net/ for more details.

Package Sidebar

Install

npm i gitnodeploy

Weekly Downloads

1

Version

1.0.0

License

wtfpl

Last publish

Collaborators

  • dlion