-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (37 loc) · 1.02 KB
/
jekyll.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Jekyll site CI - GitHub Pages publication
on:
push:
branches:
- release
pull_request:
branches:
- release
jobs:
jekyll:
# Choose the Operating System
runs-on: ubuntu-latest
# Checkout the latest changes
steps:
- 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.lock') }}
restore-keys: |
${{ runner.os }}-gems-
#
# # Standard usage
# #- uses: helaili/jekyll-action@v2
# # with:
# token: ${{ secrets.MY_SECRET }}
# Specify the Jekyll source location as a parameter
#- uses: helaili/jekyll-action@v2
# with:
# token: ${{ secrets.MY_SECRET }}
# jekyll_src: 'my_website'
# Specify the target branch (optional)
- uses: helaili/jekyll-action@v2
with:
token: ${{ secrets.MY_SECRET }}
target_branch: 'master'