Skip to content

Commit 2d2fce9

Browse files
authored
Create jekyll.yml
1 parent d155000 commit 2d2fce9

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/jekyll.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Build Jekyll site
2+
on:
3+
push:
4+
branches: ["main"]
5+
permissions:
6+
contents: read
7+
pages: write
8+
id-token: write
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v4
15+
with:
16+
submodules: 'recursive' # This will recursively clone submodules
17+
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
18+
- name: Setup Pages
19+
uses: actions/configure-pages@v5
20+
- name: Build
21+
uses: actions/jekyll-build-pages@v1
22+
- name: Upload artifact
23+
uses: actions/upload-pages-artifact@v3
24+
deploy:
25+
runs-on: ubuntu-latest
26+
needs: build
27+
steps:
28+
- name: Deploy to GitHub Pages
29+
id: deployment
30+
uses: actions/deploy-pages@v4
31+
environment:
32+
name: github-pages
33+
url: ${{ steps.deployment.outputs.page_url }}

0 commit comments

Comments
 (0)