No description, website, or topics provided.
JavaScript
Switch branches/tags
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.gitignore
README.md
package.json
server.js

README.md

Sourcemint Node

Status: ALPHA

The sourcemint networkable node daemon to be installed on all systems.

Usage

Exposes API:

  • http://<hostname>:9999/api/github.com/post-receive - Set this up as a github.com Post-Receive WebHook URL.

    Will trigger all scripts configured with:

    /pinf/programs/<programId>/program.json ~ {
        "config": {
            "github.com/sourcemint/node/0": {
                "on": {
                    "RepositoryNewTag": {
                        "match": {
                            "repository": "<github hostname><github pathname>"
                        },
                        "do": "<shell command (cwd: /pinf/programs/<programId>)>"
                    }
                }
            }
        }
    }