Skip to content

Commit c6aabcd

Browse files
Merge pull request #257 from UiPath/chore/fix-pipeline
Chore/fix pipeline
2 parents 6b54a5e + 1b8d5c2 commit c6aabcd

File tree

3 files changed

+18
-3
lines changed

3 files changed

+18
-3
lines changed

.github/workflows/build.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
secrets:
66
token:
77
required: true
8+
repo_access:
9+
required: true
810

911
jobs:
1012
build:
@@ -45,6 +47,18 @@ jobs:
4547
env:
4648
UV_PUBLISH_TOKEN: ${{ secrets.token }}
4749

50+
- name: Clone plugins
51+
if: ${{ steps.check_version.outputs.modified }} == 'true'
52+
run: |
53+
git clone https://x-access-token:${{ secrets.repo_access }}@github.com/UiPath/uipath-langchain-python plugins/uipath-langchain-python
54+
55+
- name: Symlink plugin docs
56+
if: ${{ steps.check_version.outputs.modified }} == 'true'
57+
run: |
58+
mkdir -p docs/plugins
59+
ln -s ../../plugins/uipath-langchain-python/docs docs/plugins/uipath-langchain-python
60+
4861
- name: Publish Docs
4962
if: ${{ steps.check_version.outputs.modified }} == 'true'
50-
uses: ./.github/workflows/deploy_docs.yml
63+
run: |
64+
uv run mkdocs gh-deploy --force

.github/workflows/cd.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ jobs:
1111
if: ${{ github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'push' && github.event.workflow_run.head_branch == 'main' }}
1212
uses: ./.github/workflows/build.yml
1313
secrets:
14-
token: ${{ secrets.PYPI_TOKEN }}
14+
token: ${{ secrets.PYPI_TOKEN }}
15+
repo_access: ${{ secrets.REPO_ACCESS }}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "uipath"
3-
version = "2.0.4.dev1"
3+
version = "2.0.4.dev2"
44
description = "Python SDK and CLI for UiPath Platform, enabling programmatic interaction with automation services, process management, and deployment tools."
55
readme = { file = "README.md", content-type = "text/markdown" }
66
requires-python = ">=3.10"

0 commit comments

Comments
 (0)