js-org / js.org

Dedicated to JavaScript and its awesome community since 2015

Home Page:https://JS.ORG

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How do you manage these domains?

proudparrot2 opened this issue · comments

commented

Hey there!
Sorry, this isn’t another domain request, more of a question.
What’s your setup for automatically applying the subdomains to Cloudflare?

I’m interested in doing something like this as well.
If you don’t want to answer, thats perfectly fine.
Have a good day!

Hey! There is no automatic configuration of Cloudflare. Requests are manually added when reviewing PRs, and once the subdomain is confirmed to be working the PR is merged so that we have a record here that matches what is manually configured in Cloudflare.

commented

So the cnames_active.js is just for validation? It doesn't get sent to cloudflare?

That's cool, thank you!

Correct, it is just validated in all PRs and commits to ensure that it is in a consistent format. You can see the exact logic that gets run here: https://github.com/js-org/js.org-cleanup/blob/master/src/ci/validate.js

commented

Alrighty, thanks