woshiwahah commited on
Commit
1a0aded
·
unverified ·
1 Parent(s): c475101

Create jekyll-docker.yml

Browse files
Files changed (1) hide show
  1. .github/workflows/jekyll-docker.yml +20 -0
.github/workflows/jekyll-docker.yml ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Jekyll site CI
2
+
3
+ on:
4
+ push:
5
+ branches: [ "main" ]
6
+ pull_request:
7
+ branches: [ "main" ]
8
+
9
+ jobs:
10
+ build:
11
+
12
+ runs-on: ubuntu-latest
13
+
14
+ steps:
15
+ - uses: actions/checkout@v4
16
+ - name: Build the site in the jekyll/builder container
17
+ run: |
18
+ docker run \
19
+ -v ${{ github.workspace }}:/srv/jekyll -v ${{ github.workspace }}/_site:/srv/jekyll/_site \
20
+ jekyll/builder:latest /bin/bash -c "chmod -R 777 /srv/jekyll && jekyll build --future"