<commit_before>name: Node CI

on: [push]

jobs:
  build:

    runs-on: ubuntu-18.04

    steps:
    - uses: actions/checkout@master
    - name: Use Node.js 10.x
      uses: actions/setup-node@v1
      with:
        version: 10.x
    - name: Build
      env:
        LAST_FM_API_KEY: ${{ secrets.LAST_FM_API_KEY }}
      run: |
        echo GATSBY_LAST_FM_API_KEY=${{secrets.LAST_FM_API_KEY}} >> .env
        npm install
        mkdir src/pages/blog
        npm run build --if-present
    - name: Deploy
      env:
        AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
        AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET }}
      run: node scripts/deploy.js<commit_msg>chore: filter by branches for deploy<commit_after>name: Node CI

on: [push]

jobs:
  build:

    runs-on: ubuntu-18.04

    steps:
    - uses: actions/checkout@master
    - name: Use Node.js 10.x
      uses: actions/setup-node@v1
      with:
        version: 10.x
    - name: Build
      env:
        LAST_FM_API_KEY: ${{ secrets.LAST_FM_API_KEY }}
      run: |
        echo GATSBY_LAST_FM_API_KEY=${{secrets.LAST_FM_API_KEY}} >> .env
        npm install
        mkdir src/pages/blog
        npm run build --if-present
    - name: Deploy
      branches:
      - master
      env:
        AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
        AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET }}
      run: node scripts/deploy.js
{'fraction_non_alphanumeric': 0.11024182076813656, 'fraction_numerical': 0.012802275960170697, 'mean_word_length': 2.1266666666666665, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '4597701', 'n_tokens_mistral': 540, 'n_tokens_neox': 502, 'n_words': 102}