<commit_before>language: ruby
rvm:
  - 2.3.3

script: 
  - bundle install
  - bundle exec jekyll build

after_success:
  - git clone https://github.com/mritd/mritd.me.git
  - cd mritd.me && rm -rf * && cp -r ../_site/* .
  - git config user.name "mritd"
  - git config user.email "<EMAIL>"
  - git add --all .
  - git commit -m "Travis CI Auto Builder"
  - git push --force https://$DEPLOY_TOKEN@github.com/mritd/mritd.me.git master

branches:
    only:
    - master
env:
    global:
    - NOKOGIRI_USE_SYSTEM_LIBRARIES=true
<commit_msg>增加 docker 重启命令<commit_after>language: ruby
rvm:
  - 2.3.3

script: 
  - bundle install
  - bundle exec jekyll build

after_success:
  - git clone https://github.com/mritd/mritd.me.git
  - cd mritd.me && rm -rf * && cp -r ../_site/* .
  - git config user.name "mritd"
  - git config user.email "<EMAIL>"
  - git add --all .
  - git commit -m "Travis CI Auto Builder"
  - git push --force https://$DEPLOY_TOKEN@github.com/mritd/mritd.me.git master
  - cd ../ && cat $SSH-KEY > ssh-key 
  - openssl enc -aes-256-ecb -salt -d -a -in ssh-key -out mritd.key -k $SSH-TOKEN
  - ssh -i mritd.key -q -n root@mritd.me "docker restart mritd_jekyll_1"
  - rm -f ssh-key mritd.key

branches:
    only:
    - master
env:
    global:
    - NOKOGIRI_USE_SYSTEM_LIBRARIES=true

{'fraction_non_alphanumeric': 0.1427469135802469, 'fraction_numerical': 0.007716049382716049, 'mean_word_length': 2.404199475065617, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 3, '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': '3127456', 'n_tokens_mistral': 556, 'n_tokens_neox': 538, 'n_words': 133}