<commit_before>language: go

go:
  - master

addons:
  ssh_known_hosts: overflod.chary.us

before_install:
  - openssl aes-256-cbc -K $encrypted_da0730754d12_key -iv $encrypted_da0730754d12_iv -in travis_rsa.enc -out travis_rsa -d
  - chmod 600 travis_rsa
  - mv travis_rsa ~/.ssh/id_rsa

install:
  - ./scripts/install-hugo.sh

jobs:
  include:
    - stage: build
      script: hugo -b https://snoonet-beta.chary.us/
      after_success:
        - ./scripts/deploy.sh
    - stage: GitHub Release
      if: tag IS present
      script: hugo -b https://snoonet.org && tar -zcvf $TRAVIS_COMMIT.tar.gz public;
      deploy:
        provider: releases
        api_key: "$GITHUB_OAUTH_TOKEN"<commit_msg>Don't run staging deploy on tag, it's already there<commit_after>language: go

go:
  - master

addons:
  ssh_known_hosts: overflod.chary.us

before_install:
  - openssl aes-256-cbc -K $encrypted_da0730754d12_key -iv $encrypted_da0730754d12_iv -in travis_rsa.enc -out travis_rsa -d
  - chmod 600 travis_rsa
  - mv travis_rsa ~/.ssh/id_rsa

install:
  - ./scripts/install-hugo.sh

jobs:
  include:
    - stage: build
      if: tag IS NOT present
      script: hugo -b https://snoonet-beta.chary.us/
      after_success:
        - ./scripts/deploy.sh
    - stage: GitHub Release
      if: tag IS present
      script: hugo -b https://snoonet.org && tar -zcvf $TRAVIS_COMMIT.tar.gz public;
      deploy:
        provider: releases
        api_key: "$GITHUB_OAUTH_TOKEN"
{'fraction_non_alphanumeric': 0.10663021189336978, 'fraction_numerical': 0.032809295967190705, 'mean_word_length': 2.66, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '165165', 'n_tokens_mistral': 611, 'n_tokens_neox': 567, 'n_words': 126}