Skip to content

Commit e30adc4

Browse files
Merge pull request #16 from pytorch-labs/updated_deployment
Final fix: Align baseurl and deployment path for test repo
2 parents 2c0d5ee + 302dba4 commit e30adc4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ jobs:
4141

4242
- name: Prepare deployment directory
4343
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/docs
45+
rsync -av --delete compile-graph-break-site/gbid_directory/ pytorch-docs/docs/
4646
working-directory: ${{ github.workspace }}
4747

4848
- name: Commit and Push to docs repo
@@ -51,6 +51,6 @@ jobs:
5151
git config user.name "github-actions[bot]"
5252
git config user.email "github-actions[bot]@users.noreply.github.com"
5353
git add .
54-
git commit -m "Deploy: Update compile-graph-break site" || echo "No changes to commit"
54+
git commit -m "Deploy: Update compile-graph-break site (Test)" || echo "No changes to commit"
5555
git push https://x-access-token:${{ secrets.DOCS_REPO_TOKEN }}@github.com/Sidharth123-cpu/test-docs-site.git site
5656
working-directory: ${{ github.workspace }}

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: "/repo/compile-graph-break" # Adjust this based on your actual GitHub Pages path
35+
baseurl: "/test-docs-site/docs" # 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)