Skip to content

Commit

Permalink
ci(workflow): use correct commit message for docs update
Browse files Browse the repository at this point in the history
  • Loading branch information
ccamel committed Feb 8, 2024
1 parent e4698df commit bc7585c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update-versioned-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
- name: Copy updated docs
run: |
rm -rf ${{ github.event.inputs.section }}/*
rsync -rmv --include='*/' --include='*.md' --include='*.json' --exclude='*' tmp/${{ github.event.inputs.docs_directory }} ${{ github.event.inputs.section }}
rsync -rmv --include='*/' --include='*.md' --include='*.mdx' --include='*.json' --exclude='*' tmp/${{ github.event.inputs.docs_directory }} ${{ github.event.inputs.section }}
git rm --ignore-unmatch --cached tmp
rm -rf .git/modules/tmp
rm -rf tmp
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
commit_user_name: ${{ secrets.OKP4_BOT_GIT_COMMITTER_NAME }}
commit_user_email: ${{ secrets.OKP4_BOT_GIT_COMMITTER_EMAIL }}
commit_author: ${{ secrets.OKP4_BOT_GIT_AUTHOR_NAME }} <${{ secrets.OKP4_BOT_GIT_AUTHOR_EMAIL }}>
commit_message: "docs: update draft docs for ${{ github.event.inputs.section }}"
commit_message: "feat(${{ github.event.inputs.section }}): update draft docs"

- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
Expand Down

0 comments on commit bc7585c

Please sign in to comment.