foundry-release-webhook-notify

0.0.4 • Public • Published

foundry-release-webhook-notify

Post to a webhook endpoint on publish.

Install

npm i foundry-release-webhook-notify --save-dev

Usage

In your package.json:

 
...
 
"foundry"{
    "releaseCommands": [
        ...
        {
            "type": "releaseCommand",
            "command": "foundry-release-webhook-notify",
            "options": {
              "webhook": "https://ci-server.local/foo001/build/",
            }
        },
        ...
    ]
}
...

Without options, it defaults to :

{
    "webhook": 'http://localhost/XXXXXX/build',
    "payload": {
        "formData": {}
    },
}

/foundry-release-webhook-notify/

    Package Sidebar

    Install

    npm i foundry-release-webhook-notify

    Weekly Downloads

    5

    Version

    0.0.4

    License

    MIT

    Last publish

    Collaborators

    • fusion-npm