-
Notifications
You must be signed in to change notification settings - Fork 16
Outputs
Cyril Rohr edited this page Feb 13, 2026
·
4 revisions
PullPreview writes the following action outputs:
-
live:truewhen this run produced/updated a live preview; otherwisefalse -
url: preview environment URL -
host: public hostname/IP of preview server -
username: SSH username for preview server
Example:
- id: pullpreview
uses: pullpreview/action@v6
- name: Print preview URL
if: steps.pullpreview.outputs.live == 'true'
run: echo "Preview URL: ${{ steps.pullpreview.outputs.url }}"Notes:
- When
proxy_tlsis enabled,urlis an HTTPS URL on port443. - For destroy-only or no-op runs,
liveisfalseandurl/host/usernamemay be unset.