Skip to content

Commit

Permalink
WIP no commit and push before PR
Browse files Browse the repository at this point in the history
  • Loading branch information
gwaramadze committed Jul 29, 2024
1 parent fe865c5 commit b7773f6
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 '[email protected]'
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 '[email protected]'
# 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'

0 comments on commit b7773f6

Please sign in to comment.