File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -34,15 +34,15 @@ jobs:
34
34
- name : Checkout pytorch/docs repository
35
35
uses : actions/checkout@v3
36
36
with :
37
- repository : Sidharth123-cpu/test-docs-site
37
+ repository : Sidharth123-cpu/test-docs-site # Changed to your test repo
38
38
ref : site # The target branch in your test repo
39
39
token : ${{ secrets.DOCS_REPO_TOKEN }} # Personal Access Token with repo scope
40
40
path : pytorch-docs
41
41
42
42
- name : Prepare deployment directory
43
43
run : |
44
- mkdir -p pytorch-docs/docs/repo/compile-graph-break
45
- rsync -av --delete compile-graph-break-site/gbid_directory/ pytorch-docs/docs/repo/compile-graph-break/
44
+ mkdir -p pytorch-docs/
45
+ rsync -av --delete compile-graph-break-site/gbid_directory/ pytorch-docs/
46
46
working-directory : ${{ github.workspace }}
47
47
48
48
- name : Commit and Push to docs repo
51
51
git config user.name "github-actions[bot]"
52
52
git config user.email "github-actions[bot]@users.noreply.github.com"
53
53
git add .
54
- git commit -m "Deploy: Update compile-graph-break site" || echo "No changes to commit"
55
- git push https://x-access-token:${{ secrets.DOCS_REPO_TOKEN }}@github.com/Sidharth123-cpu/test-docs-site.git site
54
+ git commit -m "Deploy: Update compile-graph-break site (Test) " || echo "No changes to commit"
55
+ git push https://x-access-token:${{ secrets.DOCS_REPO_TOKEN }}@github.com/Sidharth123-cpu/test-docs-site.git site # Changed to your test repo
56
56
working-directory : ${{ github.workspace }}
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ description: A registry of PyTorch Dynamo graph breaks.
32
32
33
33
# Base URL for the site
34
34
# This is crucial for correct linking on GitHub Pages
35
- baseurl: "/docs/repo/compile-graph-break " # Adjust this based on your actual GitHub Pages path
35
+ baseurl: "/test- docs-site " # Adjust this based on your actual GitHub Pages path
36
36
37
37
# Build settings
38
38
theme: jekyll-theme-minimal # Or any other Jekyll theme you prefer
You can’t perform that action at this time.
0 commit comments