From 7a32df5217348aaa5caa1c621603cb952bb39ab6 Mon Sep 17 00:00:00 2001 From: ivanmilevtues Date: Tue, 24 Jun 2025 01:04:48 +0200 Subject: [PATCH] Using the action --- .github/workflows/update-docs.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/update-docs.yml b/.github/workflows/update-docs.yml index d24b82d..f9e6a3b 100644 --- a/.github/workflows/update-docs.yml +++ b/.github/workflows/update-docs.yml @@ -60,14 +60,13 @@ jobs: - name: Fetch CodeBoarding Documentation id: codeboarding - run: | - pip install . - codeboarding \ - --repository-url "${{ github.event.inputs.repository_url }}" \ - --source-branch "${{ steps.set-branches.outputs.source_branch }}" \ - --target-branch "${{ steps.set-branches.outputs.target_branch }}" \ - --output-directory ".codeboarding" \ - --output-format "${{ github.event.inputs.output_format || '.md' }}" + uses: CodeBoarding/CodeBoarding-GHAction@v0.0.2 + with: + repository_url: ${{ github.event.inputs.repository_url }} + source_branch: ${{ steps.set-branches.outputs.source_branch }} + target_branch: ${{ steps.set-branches.outputs.target_branch }} + output_directory: '.codeboarding' + output_format: ${{ github.event.inputs.output_format || '.md' }} - name: Display Action Results run: |