Merge pull request #13 from prehor/dependabot/bundler/nokogiri-1.14.3 #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and deploy Jekyll site to GitHub Pages | |
on: | |
push: | |
branches: | |
- master # or main after September 2020 | |
jobs: | |
github-pages: | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout repository | |
- uses: actions/checkout@v2 | |
# Use GitHub Actions cache to shorten build times and decrease load on servers | |
# https://jdvp.medium.com/jekyll-github-actions-28a90a9d9bad | |
- uses: actions/cache@v1 | |
with: | |
path: vendor/bundle | |
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} | |
restore-keys: | | |
${{ runner.os }}-gems- | |
# Build Jekyll site | |
- uses: helaili/jekyll-action@v2 | |
with: | |
keep_history: true | |
target_branch: gh-pages | |
target_path: / | |
token: ${{ secrets.GHPAGES_TOKEN }} |