<commit_before>name: Github Pages
on:
  push:
    branches:
      - master
jobs:
  build-and-deploy:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2

      - name: Install Node (14.x)
        uses: actions/setup-node@v2
        with:
          node-version: '14.x'

      - name: Install Dependencies
        run: yarn install

      - name: Build
        run: gulp

      - name: Checkout GH pages
        uses: actions/checkout@v2
        with:
          repository: stellar/js-stellar-base
          ref: gh-pages
          path: jsdoc

      - name: Generate JS docs
        run: yarn docs

      - name: Publish JS docs
        run: |
          DESCRIPTION=`git describe --tags`
          cd jsdoc
          git add .
          git commit -m $DESCRIPTION<commit_msg>Add proper `git config` to GH pages publishing action (#479)<commit_after>name: Github Pages
on:
  push:
    branches:
      - master
jobs:
  build-and-deploy:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2

      - name: Install Node (14.x)
        uses: actions/setup-node@v2
        with:
          node-version: '14.x'

      - name: Install Dependencies
        run: yarn install

      - name: Build
        run: gulp

      - name: Checkout GH pages
        uses: actions/checkout@v2
        with:
          repository: stellar/js-stellar-base
          ref: gh-pages
          path: jsdoc

      - name: Generate JS docs
        run: yarn docs

      - name: Publish JS docs
        run: |
          TAG=`git describe --tags`
          cd jsdoc
          git config user.name github-actions
          git config user.email <EMAIL>
          git add .
          git commit -m $TAG
{'fraction_non_alphanumeric': 0.08556759840273816, 'fraction_numerical': 0.009697661152310326, 'mean_word_length': 1.5092989985693848, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '3804383', 'n_tokens_mistral': 565, 'n_tokens_neox': 515, 'n_words': 158}