Skip to content

Commit

Permalink
Switch default domain to my.preview.run
Browse files Browse the repository at this point in the history
  • Loading branch information
crohr committed Sep 19, 2024
1 parent 1ba2e22 commit 308f0a8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pullpreview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
app_path: ./examples/wordpress
instance_type: micro
# only required if using custom domain for your preview environments
dns: custom.pullpreview.com
dns: custom.preview.run
max_domain_length: 30
# only required if fetching images from private registry
registries: docker://${{ secrets.GHCR_PAT }}@ghcr.io
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ inputs:
default: ""
dns:
description: "Which DNS suffix to use"
default: "my.pullpreview.com"
default: "my.preview.run"
max_domain_length:
description: "Maximum length of fully qualified domain name. Note that it cannot be greater than 62 characters due to LetsEncrypt restrictions."
default: "62"
Expand Down
2 changes: 1 addition & 1 deletion bin/pullpreview
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ up_opts = lambda do |o|
o.array '--admins', 'Logins of GitHub users that will have their SSH key installed on the instance'
o.array '--cidrs', 'The IP address, or range of IP addresses in CIDR notation, that are allowed to connect to the instance', default: ["0.0.0.0/0"]
o.array '--registries', 'URIs of docker registries to authenticate against, e.g. docker://username:[email protected]', default: []
o.string '--dns', 'Enable DNS support for pretty-looking URLs', default: "my.pullpreview.com"
o.string '--dns', 'Enable DNS support for pretty-looking URLs', default: "my.preview.run"
o.array '--ports', 'Ports to open for external access on the preview server', default: [
"80/tcp", "443/tcp"
]
Expand Down

0 comments on commit 308f0a8

Please sign in to comment.