<commit_before>default:
  image: ruby:2.7
  before_script:
    - apt-get update
    - apt-get install -y sqlite3 libsqlite3-dev nodejs
    - ruby -v
    - which ruby
    - gem install bundler --no-document
    - bundle install --jobs $(nproc) "${FLAGS[@]}"

stages:
  - build
  - deploy

install-and-build:
  stage: build
  script:
    - jekyll b
  artifacts:
    name: "deployable"
    expire_in: "1 day"
    paths:
      - _deploy/

deploy:
  image: amazon/aws-cli:2.0.50
  stage: deploy
  script:
    #- ls _deploy/
    - aws s3 sync /mnt/to-sync/ s3://tmp-tiagoespinha.net/ --region eu-west-2 --delete
  dependencies:
    - install-and-build
<commit_msg>Testing<commit_after>default:
  image: ruby:2.7
  before_script:
    - apt-get update
    - apt-get install -y sqlite3 libsqlite3-dev nodejs
    - ruby -v
    - which ruby
    - gem install bundler --no-document
    - bundle install --jobs $(nproc) "${FLAGS[@]}"

stages:
  - build
  - deploy

install-and-build:
  stage: build
  before_script:
    - ''
  script:
    - jekyll b
  artifacts:
    name: "deployable"
    expire_in: "1 day"
    paths:
      - _deploy/

deploy:
  image: amazon/aws-cli:2.0.50
  stage: deploy
  script:
    #- ls _deploy/
    - aws s3 sync /mnt/to-sync/ s3://tmp-tiagoespinha.net/ --region eu-west-2 --delete
  dependencies:
    - install-and-build

{'fraction_non_alphanumeric': 0.13323353293413173, 'fraction_numerical': 0.017964071856287425, 'mean_word_length': 2.175771971496437, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '2917072', 'n_tokens_mistral': 527, 'n_tokens_neox': 506, 'n_words': 121}