File tree Expand file tree Collapse file tree 2 files changed +9
-12
lines changed Expand file tree Collapse file tree 2 files changed +9
-12
lines changed Original file line number Diff line number Diff line change @@ -45,14 +45,12 @@ jobs:
45
45
rsync -av --delete compile-graph-break-site/gbid_directory/ pytorch-docs/docs/repo/compile-graph-break/
46
46
working-directory : ${{ github.workspace }}
47
47
48
- - name : Commit and Push
49
- uses : stefanzweifel/git-auto-commit-action@v4
50
- with :
51
- repository : pytorch/docs
52
- branch : site
53
- commit_message : " Deploy: Update compile-graph-break site"
54
- file_pattern : ' docs/repo/compile-graph-break/**'
55
- commit_options : ' --no-verify --signoff'
56
- push_options : ' --force'
57
- token : ${{ secrets.DOCS_REPO_TOKEN }}
58
- working_directory : pytorch-docs
48
+ - name : Commit and Push to docs repo
49
+ run : |
50
+ cd pytorch-docs
51
+ git config user.name "github-actions[bot]"
52
+ git config user.email "github-actions[bot]@users.noreply.github.com"
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/pytorch/docs.git site
56
+ working-directory : ${{ github.workspace }}
Original file line number Diff line number Diff line change 1
1
const fs = require ( 'fs' ) ;
2
2
const path = require ( 'path' ) ;
3
- // Removed 'marked' dependency as Jekyll will handle Markdown rendering
4
3
5
4
const REGISTRY_URL = 'https://raw.githubusercontent.com/pytorch/pytorch/main/torch/_dynamo/graph_break_registry.json' ;
6
5
You can’t perform that action at this time.
0 commit comments