<commit_before>---
name: Publish
on:
  push:
    branches:
      - main

jobs:
  terraform_apply:
    name: "Apply"
    runs-on: ubuntu-latest
    permissions:
      contents: 'read'
      id-token: 'write'
    concurrency: "//deployment:deployment"
    steps:
    - name: Check out code
      uses: actions/checkout@v2
    
    - name: Include infrastructure
      run: "./pleasew -p -v2 build //third_party/repo:infrastructure"

    - name: Authenticate
      uses: ./plz-out/subrepos/third_party/repo/infrastructure/.github/actions/auth
      with:
        role_name: gha-vjftw-vjpatel-me-main

    - name: "Terraform Apply: //deployment:deployment"
      run: |-
        ./pleasew -p -v2 run @third_party/repo/infrastructure//build/ci/github/branch:terraform_apply -- --please_target "//deployment:deployment"
    
  deploy:
    name: "Deploy"
    runs-on: ubuntu-latest
    needs: [terraform_apply]
    permissions:
      contents: 'read'
      id-token: 'write'
    concurrency: "//deployment:deployment"
    steps:
    - name: Check out code
      uses: actions/checkout@v2

    - name: Include infrastructure
      run: "./pleasew -p -v2 build //third_party/repo:infrastructure"
    
    - name: Authenticate
      uses: ./plz-out/subrepos/third_party/repo/infrastructure/.github/actions/auth
      with:
        role_name: gha-vjftw-vjpatel-me-main

    - name: "Deploy website"
      run: |-
        ./pleasew -p -v2 run //build:deploy"<commit_msg>fix publish workflow syntax<commit_after>---
name: Publish
on:
  push:
    branches:
      - main

jobs:
  terraform_apply:
    name: "Apply"
    runs-on: ubuntu-latest
    permissions:
      contents: 'read'
      id-token: 'write'
    concurrency: "//deployment:deployment"
    steps:
    - name: Check out code
      uses: actions/checkout@v2
    
    - name: Include infrastructure
      run: "./pleasew -p -v2 build //third_party/repo:infrastructure"

    - name: Authenticate
      uses: ./plz-out/subrepos/third_party/repo/infrastructure/.github/actions/auth
      with:
        role_name: gha-vjftw-vjpatel-me-main

    - name: "Terraform Apply: //deployment:deployment"
      run: |-
        ./pleasew -p -v2 run @third_party/repo/infrastructure//build/ci/github/branch:terraform_apply -- --please_target "//deployment:deployment"
    
  deploy:
    name: "Deploy"
    runs-on: ubuntu-latest
    needs: [terraform_apply]
    permissions:
      contents: 'read'
      id-token: 'write'
    concurrency: "//deployment:deployment"
    steps:
    - name: Check out code
      uses: actions/checkout@v2

    - name: Include infrastructure
      run: "./pleasew -p -v2 build //third_party/repo:infrastructure"
    
    - name: Authenticate
      uses: ./plz-out/subrepos/third_party/repo/infrastructure/.github/actions/auth
      with:
        role_name: gha-vjftw-vjpatel-me-main

    - name: "Deploy website"
      run: |-
        ./pleasew -p -v2 run //build:deploy
{'fraction_non_alphanumeric': 0.12461590986684876, 'fraction_numerical': 0.004096961420279959, 'mean_word_length': 2.3524027459954233, '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': '1527672', 'n_tokens_mistral': 1018, 'n_tokens_neox': 996, 'n_words': 204}