<commit_before>name: reference

on:
  push:
    branches-ignore:
      - 'gh-pages'

env:
  GH_ACTIONS_REPO_TOKEN: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout Source
        uses: actions/checkout@v2
      - name: Generate antora.yml
        run: ./gradlew :spring-security-docs:generateAntora
      - name: Push generated antora files to the spring-generated-docs
        uses: JamesIves/github-pages-deploy-action@4.1.4
        with:
          branch: ${{ GITHUB_REPOSITORY }} # The branch the action should deploy to.
          folder: "docs/build/generateAntora" # The folder the action should deploy.
          repository-name: "spring-io/spring-generated-docs"
          token: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
      - name: Dispatch Build Request
        run: ${GITHUB_WORKSPACE}/.github/actions/dispatch.sh 'spring-io/spring-reference' "$GH_ACTIONS_REPO_TOKEN"<commit_msg>Use github.repository<commit_after>name: reference

on:
  push:
    branches-ignore:
      - 'gh-pages'

env:
  GH_ACTIONS_REPO_TOKEN: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout Source
        uses: actions/checkout@v2
      - name: Generate antora.yml
        run: ./gradlew :spring-security-docs:generateAntora
      - name: Push generated antora files to the spring-generated-docs
        uses: JamesIves/github-pages-deploy-action@4.1.4
        with:
          branch: ${{ github.repository }} # The branch the action should deploy to.
          folder: "docs/build/generateAntora" # The folder the action should deploy.
          repository-name: "spring-io/spring-generated-docs"
          token: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
      - name: Dispatch Build Request
        run: ${GITHUB_WORKSPACE}/.github/actions/dispatch.sh 'spring-io/spring-reference' "$GH_ACTIONS_REPO_TOKEN"
{'fraction_non_alphanumeric': 0.10855949895615867, 'fraction_numerical': 0.0041753653444676405, 'mean_word_length': 2.8035714285714284, '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': '4423952', 'n_tokens_mistral': 625, 'n_tokens_neox': 608, 'n_words': 130}