<commit_before>box: wercker/default
deploy:
  steps:
    - add-to-known_hosts:
        hostname: dream.xiao.today
    - mktemp:
        envvar: PRIVATEKEY_PATH
    - create-file:
        name: write key
        filename: $PRIVATEKEY_PATH
        content: $DIGITAL_OCEAN_KEYPAIR_PRIVATE
        overwrite: true
        hide-from-log: true
    - script:
        name: deploy website
        code: ssh -i $PRIVATEKEY_PATH -l root -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no dream.xiao.today 'cd /var/www/DreamMaker && git pull'<commit_msg>update deploy scripts<commit_after>box: wercker/default
deploy:
  steps:
    - add-to-known_hosts:
        hostname: dream.xiao.today
    - mktemp:
        envvar: PRIVATEKEY_PATH
    - create-file:
        name: write key
        filename: $PRIVATEKEY_PATH
        content: $DIGITAL_OCEAN_KEYPAIR_PRIVATE
        overwrite: true
        hide-from-log: true
    - script:
        name: deploy website
        code: |
          export SSH_TO_INSTANCE_AND_RUN="ssh -i $PRIVATEKEY_PATH -l root -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no dream.xiao.today"
          $SSH_TO_INSTANCE_AND_RUN 'export ENVATO_USERNAME=$ENVATO_USERNAME'
          $SSH_TO_INSTANCE_AND_RUN 'export ENVATO_API_KEY=$ENVATO_API_KEY'
          $SSH_TO_INSTANCE_AND_RUN 'export ENVATO_USERNAME=$ENVATO_PURCHASE_CODE'
          $SSH_TO_INSTANCE_AND_RUN 'cd /var/www/DreamMaker && git pull'
          $SSH_TO_INSTANCE_AND_RUN 'cd /var/www/DreamMaker && chomd +x install.sh && ./install.sh'
{'fraction_non_alphanumeric': 0.0898360655737705, 'fraction_numerical': 0.0, 'mean_word_length': 2.749385749385749, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 3, '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': '3335110', 'n_tokens_mistral': 557, 'n_tokens_neox': 539, 'n_words': 101}