Skip to content

Commit 11957a4

Browse files
Added GitHub Actions
1 parent e6930d1 commit 11957a4

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/jekyll-docker.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Jekyll site CI
2+
3+
on:
4+
push:
5+
branches: [master]
6+
7+
pull_request:
8+
branches: [master]
9+
10+
jobs:
11+
build:
12+
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout source Git branch
17+
uses: actions/checkout@v4
18+
19+
- name: Build the site in the jekyll/builder container
20+
run: |
21+
docker run \
22+
-v ${{ github.workspace }}:/srv/jekyll -v ${{ github.workspace }}/_site:/srv/jekyll/_site \
23+
jekyll/builder:latest /bin/bash -c "chmod -R 777 /srv/jekyll && jekyll build --future"

0 commit comments

Comments
 (0)