name: Build and deploy site to GitHub Pages

on:
  push:
    branches:
      - master

jobs:
  jekyll:
    runs-on: ubuntu-latest
    steps:
    - name: Checkout the code
      uses: actions/checkout@master

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

    - name: Build the site
      uses: helaili/jekyll-action@master
      with:
        build_only: true

    - name: Test the generated HTML for errors
      uses: chabad360/htmlproofer@master
      with:
        directory: "/github/jekyll_build"
    
    - name: Deploy the site
      uses: helaili/jekyll-action@master
      with:
        token: ${{ secrets.GITHUB_TOKEN }}
        target_branch: 'gh-pages'
name: Build and deploy site to GitHub Pages

on:
  push:
    branches:
      - master

jobs:
  jekyll:
    runs-on: ubuntu-latest
    steps:
    - name: Checkout the code
      uses: actions/checkout@master

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

    - name: Deploy the site
      uses: helaili/jekyll-action@master
      with:
        token: ${{ secrets.GITHUB_TOKEN }}
        target_branch: 'gh-pages'
Remove htmlproofer for now, going to add it back later
Remove htmlproofer for now, going to add it back later
