adding github workflow for actions GH pages
This commit is contained in:
parent
c46c9e114a
commit
0ecc3ede60
26
.github/workflows/jekyll.yml
vendored
Normal file
26
.github/workflows/jekyll.yml
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
name: Build and Deploy GH Pages with Jekyll Actions
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
jekyll:
|
||||
runs-on: ubuntu-16.04
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
# Use GitHub Actions' cache to shorten build times and decrease load on servers.
|
||||
- uses: actions/cache@v1
|
||||
with:
|
||||
path: vendor/bundle
|
||||
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-gems-
|
||||
|
||||
- uses: helaili/jekyll-action@2.0.1
|
||||
env:
|
||||
# Ideally use GITHUB_TOKEN but it gives error for this action.
|
||||
JEKYLL_PAT: ${{ secrets.JEKYLL_PAT }}
|
Loading…
x
Reference in New Issue
Block a user