<commit_before>expeditor:
  secrets:
    FASTLY_API_KEY:
      path: account/static/fastly/eng-services-ops
      field: token
  accounts:
    - aws/chef-cd
    - aws/habitat
  defaults:
    buildkite:
      timeout_in_minutes: 30
      env:
        FASTLY_SERVICE_KEY: "<KEY>"
        AWS_PROFILE: "habitat"
        AWS_DEFAULT_REGION: "us-west-2"

steps:
  - label: "Deploy the website :pen:"
    command:
      - .expeditor/scripts/website-deploy.sh production
    expeditor:
      executor:
        docker:
    timeout_in_minutes: 10
    retry:
      automatic:
        limit: 1<commit_msg>Try moving the AWS_PROFILE variable to the command that needs it<commit_after>expeditor:
  secrets:
    FASTLY_API_KEY:
      path: account/static/fastly/eng-services-ops
      field: token
  accounts:
    - aws/chef-cd
    - aws/habitat
  defaults:
    buildkite:
      timeout_in_minutes: 30
      env:
        FASTLY_SERVICE_KEY: "<KEY>"
        AWS_DEFAULT_REGION: "us-west-2"

steps:
  - label: "Deploy the website :pen:"
    command:
      - AWS_PROFILE=habitat .expeditor/scripts/website-deploy.sh production
    expeditor:
      executor:
        docker:
    timeout_in_minutes: 10
    retry:
      automatic:
        limit: 1
{'fraction_non_alphanumeric': 0.09120521172638436, 'fraction_numerical': 0.009771986970684038, 'mean_word_length': 2.3216216216216217, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '947306', 'n_tokens_mistral': 434, 'n_tokens_neox': 426, 'n_words': 86}