<commit_before>name: Deploy

# Temporary
on: [ push ]
#on:
#  push:
#    branches:
#      - master

jobs:
  deploy:
    name: Deploy
    runs-on: ubuntu-latest
    environment: production
    steps:
      - name: Check out repository code
        uses: actions/checkout@v2
      - name: Set up Python
        uses: actions/setup-python@v2
        with:
          python-version: 3.9
      - name: Add SSH key
        uses: webfactory/ssh-agent@v0.5.3
        with:
          ssh-private-key: ${{ secrets.DEPLOY_KEY }}
      - name: Run script
        run: |
          ./server/deploy.sh ./server/
<commit_msg>Add king to known hosts<commit_after>name: Deploy

# Temporary
on: [ push ]
#on:
#  push:
#    branches:
#      - master

jobs:
  deploy:
    name: Deploy
    runs-on: ubuntu-latest
    environment: production
    steps:
      - name: Check out repository code
        uses: actions/checkout@v2
      - name: Set up Python
        uses: actions/setup-python@v2
        with:
          python-version: 3.9
      - name: Add SSH key
        uses: webfactory/ssh-agent@v0.5.3
        with:
          ssh-private-key: ${{ secrets.DEPLOY_KEY }}
      - name: Add known hosts
        run: |
          ssh-keyscan -H 172.16.17.32 >> ~/.ssh/known_hosts
      - name: Run script
        run: |
          ./server/deploy.sh ./server/

{'fraction_non_alphanumeric': 0.11327831957989497, 'fraction_numerical': 0.0172543135783946, 'mean_word_length': 1.7224489795918367, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '4983017', 'n_tokens_mistral': 466, 'n_tokens_neox': 440, 'n_words': 111}