<commit_before># Deployy McDeployface

A simple, stupid Node-based deploy script working with GitHub Webhooks.

## Usage example
I'm running it via [forever](https://github.com/foreverjs/forever) like this:

```bash
forever start dist/index.js /path/to/config.json
```

Then, whenever a push to a GitHub repo is made, this script will be pinged and perform the steps outlined for that repo.

For example:

```json
{
    "host": "example.com",
    "port": 1234,
    "repos": {
        "deployy-mcdeployface": {
            "path": "/local/path/to/repo",
            "commands": [
                "git pull",
                "npm install"
            ]
        }
    }
}
```

The URL to ping should include a name of the repo in a `target` query string, `http://example.com:1234/?target=deployy-mcdeployface` will trigger a deploy for this script.<commit_msg>Update example config<commit_after># Deployy McDeployface

A simple, stupid Node-based deploy script working with GitHub Webhooks.

## Usage example
I'm running and watching it via [forever](https://github.com/foreverjs/forever) like this:

```bash
forever start --watch --watchDirectory dist dist/index.js /path/to/config.json
```

Then, whenever a push to a GitHub repo is made, this script will be pinged and perform the steps outlined for that repo.

For example:

```json
{
    "host": "example.com",
    "port": 1234,
    "repos": {
        "deployy-mcdeployface": {
            "path": "/local/path/to/repo",
            "commands": [
                "git pull",
                "npm install",
                "npm run build"
            ]
        }
    }
}
```

The URL to ping should include a name of the repo in a `target` query string, `http://example.com:1234/?target=deployy-mcdeployface` will trigger a deploy for this script.
{'fraction_non_alphanumeric': 0.11735261401557286, 'fraction_numerical': 0.008898776418242492, 'mean_word_length': 2.619718309859155, 'pattern_counts': {'":': 12, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '391330', 'n_tokens_mistral': 579, 'n_tokens_neox': 526, 'n_words': 189}