From 006443110b87d3ddc417e24fef28becbfce524f6 Mon Sep 17 00:00:00 2001 From: Gheorghita Hurmuz Date: Thu, 10 Apr 2025 11:02:10 +0300 Subject: [PATCH 1/2] chore: fix pipeline for docs --- .github/workflows/build.yml | 16 +++++++++++++++- .github/workflows/cd.yml | 3 ++- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7503b3c8..b490c0a8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,6 +5,8 @@ on: secrets: token: required: true + repo_access: + required: true jobs: build: @@ -45,6 +47,18 @@ jobs: env: UV_PUBLISH_TOKEN: ${{ secrets.token }} + - name: Clone plugins + if: ${{ steps.check_version.outputs.modified }} == 'true' + run: | + git clone https://x-access-token:${{ secrets.repo_access }}@github.com/UiPath/uipath-langchain-python plugins/uipath-langchain-python + + - name: Symlink plugin docs + if: ${{ steps.check_version.outputs.modified }} == 'true' + run: | + mkdir -p docs/plugins + ln -s ../../plugins/uipath-langchain-python/docs docs/plugins/uipath-langchain-python + - name: Publish Docs if: ${{ steps.check_version.outputs.modified }} == 'true' - uses: ./.github/workflows/deploy_docs.yml + run: | + uv run mkdocs gh-deploy --force diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 0a1a5af9..9f630a04 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -11,4 +11,5 @@ jobs: if: ${{ github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'push' && github.event.workflow_run.head_branch == 'main' }} uses: ./.github/workflows/build.yml secrets: - token: ${{ secrets.PYPI_TOKEN }} \ No newline at end of file + token: ${{ secrets.PYPI_TOKEN }} + repo_access: ${{ secrets.REPO_ACCESS }} \ No newline at end of file From 1b8d5c21f030250ce153e34f4ac6de1bbda2c524 Mon Sep 17 00:00:00 2001 From: Gheorghita Hurmuz Date: Thu, 10 Apr 2025 11:02:26 +0300 Subject: [PATCH 2/2] chore: bump version --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 14e40f50..6bab0c0e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "uipath" -version = "2.0.4.dev1" +version = "2.0.4.dev2" description = "Python SDK and CLI for UiPath Platform, enabling programmatic interaction with automation services, process management, and deployment tools." readme = { file = "README.md", content-type = "text/markdown" } requires-python = ">=3.10"