close
The Wayback Machine - https://web.archive.org/web/20201016221337/https://github.com/pullpreview/action/wiki/Inputs
Skip to content
Cyril Rohr edited this page May 9, 2020 · 3 revisions

The PullPreview workflow allows various options to be specified in the with section of the workflow:

  • admins: Logins of GitHub users that will have their SSH key installed on the instance, comma-separated. Defaults to none, which means you won't have SSH access. We suggest you set at least one GitHub login (e.g. crohr).

  • always_on: By default PullPreview only deploys Pull Requests. With this setting you can also request specific branches to always be deployed. Defaults to none.

  • cidrs: The IP address, or range of IP addresses in CIDR notation, that are allowed to connect to the instance. Comma-separated. Defaults to 0.0.0.0/0 (open to everyone).

  • compose_files: Compose files to use when running docker-compose up, comma-separated. Defaults to docker-compose.yml.

  • dns: Which DNS suffix to use. Defaults to my.pullpreview.com.

  • instance_type: Instance type to use. Defaults to small_2_0 (1CPU, 2GB RAM, 10$/month)

  • default_port: The port to use when building the preview URL. Defaults to 80.

  • ports: Ports to open for external access on the preview server (port 22 is always open). Comma-separated. Defaults to 80/tcp,443/tcp,1000-10000/tcp.

You can’t perform that action at this time.