<commit_before>name: Deploy to GitHub Pages

on:
  push:
    branches:
      - master
  workflow_dispatch:

jobs:
  deploy:
    name: Deploy to GitHub Pages
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: actions/setup-python@v3
      - name: Install Dependencies
        run: |
          python -m pip install --upgrade pip
          pip install -U --pre nbdev
          pip install -e ".[dev]"
      - name: Build website
        run: nbdev_docs
      - name: Deploy to GitHub Pages
        uses: peaceiris/actions-gh-pages@v3
        with:
          github_token: ${{ secrets.GITHUB_TOKEN }}
          force_orphan: true
          publish_dir: ./_docs
          # The following lines assign commit authorship to the official
          # GH-Actions bot for deploys to `gh-pages` branch.
          # You can swap them out with your own user credentials.
          user_name: github-actions[bot]
          user_email: <EMAIL>[<EMAIL><commit_msg>rsync<commit_after>name: Deploy to GitHub Pages

on:
  push:
    branches:
      - master
  workflow_dispatch:

jobs:
  deploy:
    name: Deploy to GitHub Pages
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: actions/setup-python@v3
      - name: Install Dependencies
        run: |
          python -m pip install --upgrade pip
          pip install -U --pre nbdev
          pip install -e ".[dev]"
      - name: Build website
        run: nbdev_docs
      - uses: fastai/workflows/build-docs@master
        with:
          username: jeremyphoward
          hostname: ps625762.dreamhostps.com
          dest_path: docs.fast.ai
          ssh_key: ${{ secrets.DH_KEY }}
          delete: 'yes'

{'fraction_non_alphanumeric': 0.08751458576429405, 'fraction_numerical': 0.006417736289381563, 'mean_word_length': 1.8726968174204355, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '88922', 'n_tokens_mistral': 552, 'n_tokens_neox': 521, 'n_words': 152}