Skip to content

Commit 8281a40

Browse files
author
Sidharth123-cpu
committed
Final configuration for test deployment to personal repo
1 parent 8b5ece3 commit 8281a40

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ jobs:
3131
run: npm run build
3232
working-directory: compile-graph-break-site
3333

34-
- name: Checkout pytorch/docs repository # This name is misleading for the test setup
34+
- name: Checkout test-docs-site repository
3535
uses: actions/checkout@v3
3636
with:
37-
repository: Sidharth123-cpu/test-docs-site # This is the *actual* repository being checked out
37+
repository: Sidharth123-cpu/test-docs-site
3838
ref: site # The target branch in your test repo
39-
token: ${{ secrets.DOCS_REPO_TOKEN }}
40-
path: pytorch-docs # THIS IS THE KEY! It's the local folder name
39+
token: ${{ secrets.DOCS_REPO_TOKEN }} # Personal Access Token with repo scope
40+
path: pytorch-docs # This is still the local directory name
4141

4242
- name: Prepare deployment directory
4343
run: |

generate-site.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ description: A registry of PyTorch Dynamo graph breaks.
3232
3333
# Base URL for the site
3434
# This is crucial for correct linking on GitHub Pages
35-
baseurl: "/test-docs-site/docs/repo/compile-graph-break" # Adjust this based on your actual GitHub Pages path
35+
baseurl: "/repo/compile-graph-break" # Adjust this based on your actual GitHub Pages path
3636
3737
# Build settings
3838
theme: jekyll-theme-minimal # Or any other Jekyll theme you prefer

0 commit comments

Comments
 (0)