Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
Mirrored from https://github.com/Camo67/composio.git
Synced Nov 22, 23:15 UTC
fix: simplify preview URL extraction in documentation workflow
balyan.sid@gmail.com committed
Jun 25, 2025 at 20:19 UTC
f09979a137f31273056019ee3f901944c0a0c0eb
1 file changed
+3
-5
.github/workflows/preview_docs.yml
+3
-5
@@ -41,11 +41,9 @@ jobs:
41
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
42
POSTHOG_API_KEY: ${{ secrets.POSTHOG_API_KEY }}
43
run: |
44
- pnpm turbo run preview -- --log-level debug \
45
- | tee turbo.log \
46
- | grep -oP 'Published docs to \K.*(?= \()' \
47
- | head -n1 \
48
- | tee preview_url.txt
44
+ URL=$(pnpm turbo run preview -- --log-level debug | grep -oP 'Published docs to \K.*(?= \()')
45
+ echo "Preview URL: $URL"
46
+ echo "Preview your docs: $URL" > preview_url.txt
47
48
- name: Comment URL in PR
49
uses: thollander/actions-comment-pull-request@v2.4.3