File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -33,13 +33,13 @@ jobs:
3333 - uses : actions/checkout@v3
3434 with :
3535 fetch-depth : 0
36- - name : Set up Git
37- run : |
38- git config user.name github-actions
39- git config user.email [email protected] 40- - name : Push docs subtree
36+ - name : Push docs to separate repo
37+ uses : cpina/github-action-push-to-another-repository@main
4138 env :
42- GH_PAT : ${{ secrets.GH_PAT }}
43- run : |
44- git remote add docs-repo https://krypticmouse:${GH_PAT}@github.com/krypticmouse/dspy-docs.git
45- git subtree push --prefix=docs docs-repo master
39+ API_TOKEN_GITHUB : ${{ secrets.GH_PAT }}
40+ with :
41+ source-directory : ' docs'
42+ destination-github-username : ' krypticmouse'
43+ destination-repository-name : ' dspy-docs'
44+ 45+ target-branch : master
You can’t perform that action at this time.
0 commit comments