diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 7bc634ed4..b94b8dd5f 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -28,21 +28,20 @@ jobs: # echo $DIFF # echo "diff=$DIFF" >> $GITHUB_OUTPUT - - name: Commit and push changes - # if: steps.generate.outputs.diff == 'true' - run: | - git checkout -b update-docs - git add docs/api-reference - git config --global user.name 'github-actions' - git config --global user.email 'github-actions@github.com' - git commit -m "Update documentation" - git push -f -u origin update-docs + # - name: Commit and push changes + # # if: steps.generate.outputs.diff == 'true' + # run: | + # git checkout -b update-docs + # git add docs/api-reference + # git config --global user.name 'github-actions' + # git config --global user.email 'github-actions@github.com' + # git commit -m "Update documentation" + # git push -f -u origin update-docs - name: Create Pull Request uses: peter-evans/create-pull-request@v6 with: branch: update-docs - base: main title: 'Update Documentation' body: 'This PR updates the documentation with the latest changes.' labels: 'documentation'