From 4afc5b2c5db43ddf381b96ee8d5f985c93126de9 Mon Sep 17 00:00:00 2001 From: Ron Kuris Date: Thu, 7 Sep 2023 15:43:01 +0000 Subject: [PATCH] nother attempt --- .github/workflows/gh-pages.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/gh-pages.yaml b/.github/workflows/gh-pages.yaml index 3c513235c..8f490f8a7 100644 --- a/.github/workflows/gh-pages.yaml +++ b/.github/workflows/gh-pages.yaml @@ -27,10 +27,10 @@ jobs: run: cargo doc --no-deps - name: Deploy run: | + mkdir _site git clean -f docs - echo "" > target/doc/index.html - echo "copying documentation to doc..." - cp -r target/doc ./docs + echo "" > _site/index.html + run: cp -r target/doc/* ./_site deploy: needs: build permissions: @@ -45,8 +45,6 @@ jobs: uses: actions/configure-pages@v3 - name: Upload artifact uses: actions/upload-pages-artifact@v2 - with: - path: "." - name: Deploy to GitHub pages id: deployment uses: actions/deploy-pages@v2