From 526994123bb583681732c7a855a422a4d2382a0e Mon Sep 17 00:00:00 2001 From: mdwairi Date: Wed, 3 Jul 2024 23:44:20 +0300 Subject: [PATCH] fix: cleanup docs generation workflow --- .github/workflows/generate-docs-site.yml | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/.github/workflows/generate-docs-site.yml b/.github/workflows/generate-docs-site.yml index 6cdecf589e..283c5446b4 100644 --- a/.github/workflows/generate-docs-site.yml +++ b/.github/workflows/generate-docs-site.yml @@ -79,14 +79,20 @@ jobs: git add . git commit -m "chore: publishing docs for version ${{ env.NEW_DOCS_VERSION }}" - - name: Create Pull Request - uses: peter-evans/create-pull-request@v6 + - name: Upload modified repository content as artifact + uses: actions/upload-artifact@v3 with: - token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} - commit-message: "chore: publishing docs for version ${{ env.NEW_DOCS_VERSION }}" - body: "This PR adds the reference documentation for version ${{ env.NEW_DOCS_VERSION }}." - title: "chore: reference docs update for version ${{ env.NEW_DOCS_VERSION }}" - branch: "docs-update-${{ env.NEW_DOCS_VERSION }}" + name: modified-repo-content + path: ./ + +# - name: Create Pull Request +# uses: peter-evans/create-pull-request@v6 +# with: +# token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} +# commit-message: "chore: publishing docs for version ${{ env.NEW_DOCS_VERSION }}" +# body: "This PR adds the reference documentation for version ${{ env.NEW_DOCS_VERSION }}." +# title: "chore: reference docs update for version ${{ env.NEW_DOCS_VERSION }}" +# branch: "docs-update-${{ env.NEW_DOCS_VERSION }}"