<commit_before>name: Build and deploy node site to GitHub Pages

on:
  push:
    branches:
      - main
  workflow_dispatch:

jobs:
  github-pages:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2

      - name: Install dependencies
        uses: actions/setup-node@v2
      - run:  |
          cd ${{ github.workspace }}
          npm install
          npm run build


           
      - name: Move 
        run: |
          cd ${{ github.workspace }}
          mv dist/assets/index.html dist/ 
          rm -rf node_modules
          
      
      - name: Invoke Deployment
        with:
          ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
          BRANCH: gh-pages
          FOLDER: /fresh/dist/
        uses: JamesIves/github-pages-deploy-action@3.2.1<commit_msg>Update github-pages.yml<commit_after>name: Build and deploy node site to GitHub Pages

on:
  push:
    branches:
      - main
  workflow_dispatch:

jobs:
  github-pages:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2

      - name: Install dependencies
        uses: actions/setup-node@v2
      - run:  |
          cd ${{ github.workspace }}
          npm install
          npm run build


           
      - name: Move 
        run: |
          cd ${{ github.workspace }}
          mv dist/assets/index.html dist/ 
          rm -rf node_modules
          
      
      - name: Invoke Deployment
        with:
          ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
          BRANCH: gh-pages
          FOLDER: fresh/dist/
        uses: JamesIves/github-pages-deploy-action@3.2.1
{'fraction_non_alphanumeric': 0.09353421217827998, 'fraction_numerical': 0.006277463904582548, 'mean_word_length': 1.526148969889065, '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': '6254937', 'n_tokens_mistral': 518, 'n_tokens_neox': 478, 'n_words': 114}