From 3c589ffcb422434229397513ff4e23d6403d72c6 Mon Sep 17 00:00:00 2001 From: Yota Toyama Date: Mon, 19 Feb 2024 20:40:02 +0900 Subject: [PATCH 1/2] Revert "Copy documentation directory first (#463)" This reverts commit c8e75c5531b108576bdef0cc802e872fad101e12. --- .github/workflows/document.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/document.yaml b/.github/workflows/document.yaml index 82be6f4240..e4609d6ec4 100644 --- a/.github/workflows/document.yaml +++ b/.github/workflows/document.yaml @@ -18,9 +18,8 @@ jobs: - uses: homebrew/actions/setup-homebrew@master - run: tools/setup.sh - run: cargo doc --all-features - - run: cp -LR target/doc /tmp - uses: actions/upload-pages-artifact@v3 with: - path: /tmp/doc + path: target/doc - uses: actions/deploy-pages@v4 if: github.ref == 'refs/heads/main' From 360a81ab1168fcbe7360a0f43bf92c6cddde0783 Mon Sep 17 00:00:00 2001 From: Yota Toyama Date: Mon, 19 Feb 2024 20:43:09 +0900 Subject: [PATCH 2/2] Fix permissions --- .github/workflows/document.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/document.yaml b/.github/workflows/document.yaml index e4609d6ec4..e7c1b63a06 100644 --- a/.github/workflows/document.yaml +++ b/.github/workflows/document.yaml @@ -18,6 +18,7 @@ jobs: - uses: homebrew/actions/setup-homebrew@master - run: tools/setup.sh - run: cargo doc --all-features + - run: rm target/doc/.lock - uses: actions/upload-pages-artifact@v3 with: path: target/doc