Skip to content

Commit e735eb3

Browse files
authored
Update gh-pages.yml
Make sure deleted files are no longer being served
1 parent 24eaddb commit e735eb3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/gh-pages.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,9 @@ jobs:
4444
- name: Commit documentation changes
4545
run: |
4646
git clone https://github.com/${{ github.repository_owner }}/onix-docs.git --branch gh-pages --single-branch gh-pages
47-
cp -r docs/html/* gh-pages/
4847
cd gh-pages
48+
rm -rf *
49+
cp -r ../docs/html/* .
4950
git config --local user.email "[email protected]"
5051
git config --local user.name "GitHub Action"
5152
git add .

0 commit comments

Comments
 (0)