25 days ago
I using railway CLI in GH workflow to setup preview apps.
I need custom domains.
My workflow is:
1. Setup neonDB fork.
2. Copy my "base" environment railway environment new "$ENV_NAME" --duplicate
3. Set neonDB URL in services that requires it.
4. Setup custom domains on some services using CLI.
5. Deply services with `railway up`
5. Use Cloudflare API to set DNS records.
The TXT record is not returned in CLI. It is shown in UI.
Without it the domain do not get verified. How do I work with that?
Maybe I'm doing something completely wrong.
2 Replies
24 days ago
Hello,
This has been fixed in v4.30.3. We now print the TXT host and required value, either in plaintext or in json with --json
Status changed to Awaiting User Response Railway • 24 days ago
24 days ago
Thanks for fixing this.
Nitpick: It does seem a bit out of place in "verificationToken" and "verificationDnsHost" instead of an entry in "dnsRecords" array.
Status changed to Awaiting Railway Response Railway • 24 days ago
Status changed to Solved cezary • 24 days ago