name: Build and deploy site to GitHub Pages

on:
  push:
    branches:
      - master

jobs:
  buildDeploy:
    name: Build and Deploy
    runs-on: ubuntu-latest
    steps:
    - name: Checkout
      uses: actions/checkout@v2.3.4

    - name: Cache
      uses: actions/cache@v2.1.4
      with:
        path: vendor/bundle
        key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile') }}
        restore-keys: |
          ${{ runner.os }}-gems-

    - name: Build and deploy the site
      uses: helaili/jekyll-action@2.1.0
      with:
        token: ${{ secrets.GITHUB_TOKEN }}
        target_branch: 'gh-pages'
name: Build and deploy site to GitHub Pages

on:
  push:
    branches:
      - master

jobs:
  buildDeploy:
    name: Build and Deploy
    runs-on: ubuntu-latest
    steps:
    - name: Checkout
      uses: actions/checkout@v2.3.4

    - name: Cache
      uses: actions/cache@v2.1.4
      with:
        path: vendor/bundle
        key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile') }}
        restore-keys: |
          ${{ runner.os }}-gems-

    - name: Build and deploy the site
      uses: helaili/jekyll-action@2.1.0
      with:
        token: ${{ secrets.PAT }}
        target_branch: 'gh-pages'
Update build workflow to use a PAT instead of the GITHUB_TOKEN since this stops subsequent builds from triggering
Update build workflow to use a PAT instead of the GITHUB_TOKEN since this stops subsequent builds from triggering
