Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch default domain to my.preview.run #92

Merged
merged 1 commit into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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