diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 51ea26b..faff216 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -30,11 +30,10 @@ jobs: git config --global user.email 'github-actions[bot]@users.noreply.github.com' git checkout gh-pages - git commit -am "Generated docs from github-actions[bot]" - rm -rf docs cp -r target/doc ./docs cp index.html docs/ + git commit -am "Generated docs from github-actions[bot]" git add docs git push