DSPy: The framework for programming—not prompting—language models
Python
fix pat authentication in actions
Herumb Shandilya71e5d35cc74e
diff --git a/.github/workflows/docs-push.yml b/.github/workflows/docs-push.ymlindex 51aa099d9..f29085e5e 100644--- a/.github/workflows/docs-push.yml+++ b/.github/workflows/docs-push.yml@@ -33,13 +33,13 @@ jobs:- uses: actions/checkout@v3with:fetch-depth: 0- - name: Push docs to separate repo- uses: cpina/github-action-push-to-another-repository@main+ - name: Set up Git+ run: |+ git config user.name github-actions+ git config user.email [email protected]+ - name: Push docs subtreeenv:- API_TOKEN_GITHUB: ${{ secrets.GH_PAT }}- with:- source-directory: 'docs'- destination-github-username: 'krypticmouse'- destination-repository-name: 'dspy-docs'- user-email: [email protected]- target-branch: master\ No newline at end of file+ GH_PAT: ${{ secrets.GH_PAT }}+ run: |+ git remote add docs-repo https://krypticmouse:${GH_PAT}@github.com/krypticmouse/dspy-docs.git+ git subtree push --prefix=docs docs-repo master\ No newline at end of file