Skip to content
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: pullpreview
  uses: pullpreview/action@v6

- name: Print preview URL
  if: steps.pullpreview.outputs.live == 'true'
  run: echo "Preview URL: ${{ steps.pullpreview.outputs.url }}"

Notes:

  • url uses http://...:80 by default.
  • When proxy_tls is enabled, url switches to https://...:443.
  • host remains the instance IP even when url uses a DNS hostname.
  • username is provider-specific, for example ec2-user on Lightsail and root on Hetzner.
  • For destroy-only, cleanup-only, or no-op runs, live is false and url/host/username may be unset.
  • Outputs have the same shape for both deployment targets: compose and helm.

Clone this wiki locally