File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -40,17 +40,14 @@ jobs:
40
40
path : pytorch-docs
41
41
42
42
- name : Prepare deployment directory
43
- run : |
44
- mkdir -p pytorch-docs/
45
- rsync -av --delete compile-graph-break-site/gbid_directory/ pytorch-docs/
43
+ run : rsync -av --delete compile-graph-break-site/gbid_directory/ pytorch-docs/
46
44
working-directory : ${{ github.workspace }}
47
45
48
46
- name : Commit and Push to docs repo
49
47
run : |
50
- cd pytorch-docs
51
48
git config user.name "github-actions[bot]"
52
49
git config user.email "github-actions[bot]@users.noreply.github.com"
53
50
git add .
54
51
git commit -m "Deploy: Update compile-graph-break site (Test)" || echo "No changes to commit"
55
52
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
- working-directory : ${{ github.workspace }}
53
+ working-directory : pytorch-docs # Changed this line to ensure git commands run in the correct directory
You can’t perform that action at this time.
0 commit comments