<commit_before>name: Deploy Zou to staging environment

on:
  push:
    branches:
      - master

jobs:
  build:
    name: Build
    runs-on: ubuntu-latest
    steps:
    - name: Update Zou on staging server
      uses: appleboy/ssh-action@master
      with:
       host: ${{ secrets.HOST }}
       username: ${{ secrets.USERNAME }}
       key: ${{ secrets.KEY }}
       port: ${{ secrets.PORT }}
       script_stop: true
       script: |
         cd /opt/zou
         . zouenv/bin/activate
         source /etc/zou/zou.env
         pip install --upgrade git+https://github.com/cgwire/zou.git
         zou upgrade_db
         sudo service restart zou<commit_msg>Fix Github action<commit_after>name: Deploy Zou to staging environment

on:
  push:
    branches:
      - master

jobs:
  build:
    name: Build
    runs-on: ubuntu-latest
    steps:
    - name: Update Zou on staging server
      uses: appleboy/ssh-action@master
      with:
       host: ${{ secrets.HOST }}
       username: ${{ secrets.USERNAME }}
       key: ${{ secrets.KEY }}
       port: ${{ secrets.PORT }}
       script_stop: true
       script: |
         cd /opt/zou
         . zouenv/bin/activate
         source /etc/zou/zou.env
         pip install --upgrade git+https://github.com/cgwire/zou.git
         zou upgrade_db
         sudo service zou restart
{'fraction_non_alphanumeric': 0.10843373493975904, 'fraction_numerical': 0.0, 'mean_word_length': 1.8704103671706263, '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': '6312887', 'n_tokens_mistral': 430, 'n_tokens_neox': 409, 'n_words': 105}