push doc autogeneration changes to new branch (#531)
This commit is contained in:
parent
350b148155
commit
42df5cef58
16
.github/workflows/docgen.yml
vendored
16
.github/workflows/docgen.yml
vendored
@ -55,12 +55,26 @@ jobs:
|
|||||||
mv ./src/cmd/mdgen/cli_markdown/* ./docs/docs/cli/
|
mv ./src/cmd/mdgen/cli_markdown/* ./docs/docs/cli/
|
||||||
rm -R ./src/cmd/mdgen/cli_markdown/
|
rm -R ./src/cmd/mdgen/cli_markdown/
|
||||||
|
|
||||||
# # make a commit for any file changes
|
# make a commit for any file changes
|
||||||
# - name: Commit the Auto-Generated Files
|
# - name: Commit the Auto-Generated Files
|
||||||
# uses: stefanzweifel/git-auto-commit-action@v4
|
# uses: stefanzweifel/git-auto-commit-action@v4
|
||||||
# with:
|
# with:
|
||||||
|
# branch: docs_autogen
|
||||||
|
# create_branch: true
|
||||||
# commit_message: Documentation Auto-generation
|
# commit_message: Documentation Auto-generation
|
||||||
# commit_user_name: github-actions[bot]
|
# commit_user_name: github-actions[bot]
|
||||||
# commit_user_email: 41898282+github-actions[bot]@users.noreply.github.com
|
# commit_user_email: 41898282+github-actions[bot]@users.noreply.github.com
|
||||||
# commit_author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
|
# commit_author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
|
||||||
|
|
||||||
|
# make a new PR for the changes
|
||||||
|
- name: Make a New PR With the Auto-Generated Docs
|
||||||
|
uses: EndBug/add-and-commit@v9
|
||||||
|
with:
|
||||||
|
# pull: '--rebase'
|
||||||
|
new_branch: docs_autogen
|
||||||
|
push: 'origin docs_autogen --set-upstream --force'
|
||||||
|
message: 'Documentation Auto-generation'
|
||||||
|
committer_name: github-actions[bot]
|
||||||
|
committer_email: 41898282+github-actions[bot]@users.noreply.github.com
|
||||||
|
default_author: github_actor
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user