Skip to content

Commit be12d0d

Browse files
committed
Fix guide building
1 parent 044b028 commit be12d0d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/deploy_guide.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77

88
jobs:
99
deploy:
10+
# Only run on the main repository, not on forks
11+
if: github.repository == 'rust-gpu/Rust-CUDA'
1012
runs-on: ubuntu-latest
1113
permissions:
1214
contents: write
@@ -34,7 +36,7 @@ jobs:
3436
- name: Upload artifact
3537
uses: actions/upload-pages-artifact@v3
3638
with:
37-
path: "book"
39+
path: "guide/book"
3840

3941
- name: Deploy to GitHub Pages
4042
id: deployment

0 commit comments

Comments
 (0)