<commit_before>name: Deploy to Demo Site

on:
  push:
    branches:
      - 'master'

env:
  node_version: 14

jobs:
  build_n_deploy:
    runs-on: ubuntu-latest
    steps:
      - env:
          demoKey: ${{ secrets.demoKey }}
      - uses: actions/checkout@v2.3.2
        with:
          # fetch full history so things like auto-changelog work properly
          fetch-depth: 0
      - name: Use Node.js ${{ env.node_version }}
        uses: actions/setup-node@v2-beta
        with:
          node-version: ${{ env.node_version }}
          # setting a registry enables the NODE_AUTH_TOKEN env variable where we can set an npm token.  REQUIRED
          registry-url: 'https://registry.npmjs.org'

      - name: Declare some variables
        id: vars
        shell: bash
        run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"

      - name: get-npm-version
        id: package-version
        uses: martinbeentjes/npm-get-version-action@master

      - name: Build & Deploy
        run: |
          npm run deploy
          npm run package
          npm run demosite
<commit_msg>setup of demoKey as env var<commit_after>name: Deploy to Demo Site

on:
  push:
    branches:
      - 'master'

env:
  node_version: 14

jobs:
  build_n_deploy:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2.3.2
        with:
          # fetch full history so things like auto-changelog work properly
          fetch-depth: 0
      - name: Use Node.js ${{ env.node_version }}
        uses: actions/setup-node@v2-beta
        with:
          node-version: ${{ env.node_version }}
          # setting a registry enables the NODE_AUTH_TOKEN env variable where we can set an npm token.  REQUIRED
          registry-url: 'https://registry.npmjs.org'

      - name: Declare some variables
        id: vars
        shell: bash
        run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"

      - name: get-npm-version
        id: package-version
        uses: martinbeentjes/npm-get-version-action@master

      - name: Build & Deploy
        env:
          demoKey: ${{ secrets.demoKey }}
        run: |
          npm run deploy
          npm run package
          npm run demosite

{'fraction_non_alphanumeric': 0.1, 'fraction_numerical': 0.006278026905829596, 'mean_word_length': 1.9355263157894738, 'pattern_counts': {'":': 0, '<': 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': '1768692', 'n_tokens_mistral': 728, 'n_tokens_neox': 683, 'n_words': 191}