Skip to content
Cyril Rohr edited this page Feb 13, 2026 · 4 revisions

PullPreview writes the following action outputs:

  • live: true when this run produced/updated a live preview; otherwise false
  • 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_tls is enabled, url is an HTTPS URL on port 443.
  • For destroy-only or no-op runs, live is false and url/host/username may be unset.

Clone this wiki locally