Skip to content

Commit e006e62

Browse files
authored
Add step to copy CNAME for GitHub Pages deployment
1 parent fa08447 commit e006e62

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/gh-pages.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,12 @@ jobs:
2323
run: |
2424
mdbook clean
2525
mdbook build
26+
27+
- name: Copy CNAME to book directory
28+
run: cp CNAME ./book/CNAME
2629

2730
- name: Deploy to GitHub Pages
2831
uses: peaceiris/actions-gh-pages@v3
2932
with:
3033
github_token: ${{ secrets.GITHUB_TOKEN }}
31-
publish_dir: ./book
34+
publish_dir: ./book

0 commit comments

Comments
 (0)