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

Wizard should remember domain by default #208

Open
hickford opened this issue May 12, 2016 · 1 comment
Open

Wizard should remember domain by default #208

hickford opened this issue May 12, 2016 · 1 comment

Comments

@hickford
Copy link

https://surge.sh/help/remembering-a-domain

By default, Surge will prompt you for a domain each time you deploy [populating the domain field with a new random suggestion, eg. http://eminent-color.surge.sh/ or http://sore-trains.surge.sh ]

This is an bizarre and unhelpful default. Who wants to publish the same website to a sequence of random domains? The wizard would be more useful if it remembered where I published my site.

Yes I know about the CNAME file feature. Here's how the wizard could remember my domain: save a CNAME file if one doesn't exist.

This would be consistent with Divshot, Firebase and Heroku. The commands divshot init heroku init firebase init suggest random site names, but remember them after you publish (saving details to divshot.json firebase.json .git/config respectively)

@sintaxi
Copy link
Owner

sintaxi commented Dec 8, 2016

Thanks for the suggestion. Makes sense. FWIW - the domain can be passed into the command line in several different ways.

surge . example.com or surge --project . --domain example.com or surge -p . -d example.com

Like your suggestion though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants