diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 1cd5202..247f2d3 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -44,8 +44,9 @@ jobs: - name: Commit documentation changes run: | git clone https://github.com/${{ github.repository_owner }}/onix-docs.git --branch gh-pages --single-branch gh-pages - cp -r docs/html/* gh-pages/ cd gh-pages + rm -rf * + cp -r ../docs/html/* . git config --local user.email "action@github.com" git config --local user.name "GitHub Action" git add .