Skip to content

Commit 8fd4a40

Browse files
authored
Create jekyll-build.yml
1 parent bb3c081 commit 8fd4a40

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/jekyll-build.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: GH Pages CI
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
paths-ignore:
8+
- "docs/**"
9+
10+
jobs:
11+
build-deploy:
12+
runs-on: ubuntu-16.04
13+
14+
steps:
15+
- name: Checkout repo
16+
uses: actions/checkout@v2
17+
18+
- name: Get cached gems
19+
uses: actions/cache@v2
20+
with:
21+
path: vendor/bundle
22+
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
23+
restore-keys: |
24+
${{ runner.os }}-gems-
25+
- name: Build and deploy
26+
uses: helaili/jekyll-action@v2
27+
with:
28+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)