-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (31 loc) · 989 Bytes
/
workflow.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
name: Build and deploy Jekyll site to GitHub Pages
on:
push:
branches:
- develop
jobs:
jekyll:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# Use GitHub Actions' cache to shorten build times and decrease load on servers
- uses: actions/cache@v3
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile') }}
restore-keys: |
${{ runner.os }}-gems-
# Standard usage
# - uses: helaili/jekyll-action@v2
# with:
# token: ${{ secrets.GITHUB_TOKEN }}
# Specify the Jekyll source location as a parameter
# - uses: helaili/jekyll-action@v2
# with:
# token: ${{ secrets.GITHUB_TOKEN }}
# Specify the target branch (optional)
- uses: helaili/jekyll-action@master
with:
pre_build_commands: git config --global http.version HTTP/1.1; apk fetch git-lfs;
token: ${{ secrets.GITHUB_TOKEN }}
target_branch: 'main'