From 5ca5263a7bfcf351792f743dd14d72f16896fd16 Mon Sep 17 00:00:00 2001 From: Christian Legnitto Date: Sat, 9 Aug 2025 10:26:24 -0700 Subject: [PATCH] Fix guide building --- .github/workflows/deploy_guide.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy_guide.yml b/.github/workflows/deploy_guide.yml index 4bd9eede..aa5e230e 100644 --- a/.github/workflows/deploy_guide.yml +++ b/.github/workflows/deploy_guide.yml @@ -7,6 +7,8 @@ on: jobs: deploy: + # Only run on the main repository, not on forks + if: github.repository == 'rust-gpu/Rust-CUDA' runs-on: ubuntu-latest permissions: contents: write @@ -34,7 +36,7 @@ jobs: - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: - path: "book" + path: "guide/book" - name: Deploy to GitHub Pages id: deployment