Skip to content

Commit c03abf1

Browse files
authored
Update gitbook-deploy.yml
1 parent ea1441f commit c03abf1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/gitbook-deploy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424
run: gitbook build . --log=debug --debug
2525
- name: Checkout the `gh-pages` branch into the `_gh-pages` folder
2626
run: git worktree add ./_gh-pages gh-pages
27+
- name: Delete all existing files from the `_gh-pages` folder
28+
run: rm -rf ./_gh-pages/*
2729
- name: Copy the compiled book files to `_gh-pages`
2830
run: cp -R ./_book/* ./_gh-pages
2931
- name: Commit and push the changed book files in the `gh-pages` branch

0 commit comments

Comments
 (0)