<commit_before>name: Publish Docs
on:
  push:
    branches:
      - main
    paths:
      - 'docs/**'
  release:
    # This specifies that the build will be triggered when we publish a release
    types: [published]

jobs:
  build:
    if: github.ref == 'refs/heads/main' || github.event.release.target_commitish == 'main'
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
        with:
          ref: 'main'
      - uses: actions/setup-node@v3
        with:
          node-version-file: '.nvmrc'
          cache: 'npm'
      - run: npm ci
      - name: Generate Documentation
        run: npm run docs:build
<commit_msg>ci: always publish docs on main push<commit_after>name: Publish Docs
on:
  push:
    branches:
      - main

jobs:
  build:
    if: github.ref == 'refs/heads/main' || github.event.release.target_commitish == 'main'
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
        with:
          ref: 'main'
      - uses: actions/setup-node@v3
        with:
          node-version-file: '.nvmrc'
          cache: 'npm'
      - run: npm ci
      - name: Generate Documentation
        run: npm run docs:build

{'fraction_non_alphanumeric': 0.11406518010291596, 'fraction_numerical': 0.003430531732418525, 'mean_word_length': 1.9846547314578005, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '1659425', 'n_tokens_mistral': 396, 'n_tokens_neox': 379, 'n_words': 102}