Skip to content

Commit 14eb0b7

Browse files
committed
fix build index.html
1 parent 7658af7 commit 14eb0b7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/release.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ jobs:
3535
- name: Copy README.md to index.md
3636
run: cp README.md index.md
3737

38+
- name: Prepare index.md with front matter
39+
run: |
40+
echo -e "---\nlayout: default\ntitle: Home\n---\n" > index.md
41+
cat README.md >> index.md
42+
3843
- name: Build site with Jekyll
3944
run: |
4045
jekyll build --source . --destination ./_site

0 commit comments

Comments
 (0)