Skip to content

Commit 7c11b2d

Browse files
committed
test
1 parent ba1d5eb commit 7c11b2d

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

  • testcases/ground-to-cloud

testcases/ground-to-cloud/run.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ uv sync
1818
echo "Authenticating with UiPath..."
1919
uv run uipath auth --client-id="$CLIENT_ID" --client-secret="$CLIENT_SECRET" --base-url="$BASE_URL"
2020

21-
# Now overwrite just the ACCESS_TOKEN with PAT_TOKEN
22-
if [ -n "$PAT_TOKEN" ]; then
23-
# Use sed to replace only the active UIPATH_ACCESS_TOKEN line (not commented ones)
24-
sed -i "s|^UIPATH_ACCESS_TOKEN=.*|UIPATH_ACCESS_TOKEN=$PAT_TOKEN|" .env
25-
else
26-
echo "Warning: PAT_TOKEN environment variable is not set!"
27-
fi
21+
# # Now overwrite just the ACCESS_TOKEN with PAT_TOKEN
22+
# if [ -n "$PAT_TOKEN" ]; then
23+
# # Use sed to replace only the active UIPATH_ACCESS_TOKEN line (not commented ones)
24+
# sed -i "s|^UIPATH_ACCESS_TOKEN=.*|UIPATH_ACCESS_TOKEN=$PAT_TOKEN|" .env
25+
# else
26+
# echo "Warning: PAT_TOKEN environment variable is not set!"
27+
# fi
2828

2929
echo "Packing agent..."
3030
uv run uipath pack

0 commit comments

Comments
 (0)