From 13289dd6c17bcaeeeb2cf974f2945e7d7e22df40 Mon Sep 17 00:00:00 2001 From: Tim te Beek Date: Fri, 29 Nov 2024 15:23:03 +0100 Subject: [PATCH] Also move .js file, and set working-directory for git --- .github/workflows/update-docs.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update-docs.yml b/.github/workflows/update-docs.yml index a707e1bdc5..5252f47821 100644 --- a/.github/workflows/update-docs.yml +++ b/.github/workflows/update-docs.yml @@ -39,10 +39,13 @@ jobs: 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 rewrite-docs/docs/reference/latest-versions-of-every-openrewrite-module.md + run: | + mv rewrite-recipe-markdown-generator/build/docs/*.md rewrite-docs/docs/reference/ + mv rewrite-recipe-markdown-generator/build/docs/*.js rewrite-docs/src/plugins/ # Commit and push changes - name: configure-git-user + working-directory: rewrite-docs run: | git config user.email "team@moderne.io" git config user.name "team-moderne[bot]"