Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 20
Outputs
Cyril Rohr edited this page Mar 13, 2026
·
5 revisions
PullPreview writes the following action outputs:
| Output | Description |
|---|---|
live | true when the action wrote a live preview URL for this run; otherwise false. |
url | The preview URL, including scheme, hostname, and explicit port. |
host | The preview instance public IP address. |
username | The SSH username for the preview instance. |
Example:
- id: pullpreviewuses: pullpreview/action@v6
- name: Print preview URLif: steps.pullpreview.outputs.live == 'true'run: echo "Preview URL: ${{ steps.pullpreview.outputs.url }}"Notes:
urluseshttp://...:80by default.- When
proxy_tlsis enabled,urlswitches tohttps://...:443. hostremains the instance IP even whenurluses a DNS hostname.usernameis provider-specific, for exampleec2-useron Lightsail androoton Hetzner.- For destroy-only, cleanup-only, or no-op runs,
liveisfalseandurl/host/usernamemay be unset. - Outputs have the same shape for both deployment targets:
composeandhelm.