name: Build and deploy Jekyll site to GitHub Pages

on:
  push:
    branches:
      - master

jobs:
  github-pages:
    runs-on: ubuntu-20.04
    steps:
      - uses: actions/checkout@v2
      - uses: helaili/jekyll-action@v2
        with:
            target_branch: 'gh-pages'
            token: ${{ secrets.GITHUB_TOKEN }}
