Skip to content

Commit

Permalink
Also clone rewrite-docs to explicit path
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek committed Nov 23, 2024
1 parent 051729c commit bd07215
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/update-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,17 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
path: 'rewrite-docs'
- name: Move generated markdown to docs/
run: mv rewrite-recipe-markdown-generator/build/docs/latest-versions-of-every-openrewrite-module.md docs/reference/
run: mv rewrite-recipe-markdown-generator/build/docs/latest-versions-of-every-openrewrite-module.md rewrite-docs/docs/reference/

# Commit and push changes
- name: configure-git-user
run: |
git config --global user.email "[email protected]"
git config --global user.name "team-moderne[bot]"
- name: Commit and push Maven dependency vulnerabilities to rewrite-java-dependencies
working-directory: rewrite-docs
run: |
export MSG=[Auto] Latest versions as of $(date +'%Y-%m-%dT%H%M')"
export DOC=docs/reference/latest-versions-of-every-openrewrite-module.md
Expand Down

0 comments on commit bd07215

Please sign in to comment.