Skip to content

Merge pull request #1 from IMRCLab/knmcguire-patch-1 #15

Merge pull request #1 from IMRCLab/knmcguire-patch-1

Merge pull request #1 from IMRCLab/knmcguire-patch-1 #15

Workflow file for this run

name: Build and deploy Jekyll site to GitHub Pages
on:
push:
branches:
- main
jobs:
github-pages:
# Choose the Operating System
runs-on: ubuntu-latest
steps:
# Checkout the latest changes
- uses: actions/checkout@v2
# Use GitHub Actions' cache to shorten build times and decrease load on servers
- uses: actions/cache@v2
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile') }}
restore-keys: |
${{ runner.os }}-gems-
# Specify the target branch (optional)
- uses: helaili/jekyll-action@v2
with:
pre_build_commands: git config --global http.version HTTP/1.1; apk fetch git-lfs;
token: ${{ secrets.GITHUB_TOKEN }}
target_branch: 'gh-pages'