Skip to content

Commit

Permalink
Merge pull request #20 from Stef-00012/main
Browse files Browse the repository at this point in the history
Add GitHub Pages verification
  • Loading branch information
wdhdev committed Mar 28, 2024
2 parents be25dca + 4aeb3be commit 471584e
Show file tree
Hide file tree
Showing 8 changed files with 45 additions and 0 deletions.
43 changes: 43 additions & 0 deletions src/docs/github_pages_verification/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Verify your is-a.dev Domain with GitHub Pages

## Get your verification string

1. Open GitHub, press on your profile icon on the top right, and press `Settings`.

<img src="../img/github_pages_verification_step_1.png" height="259">

2. Press `Pages`.

<img src="../img/github_pages_verification_step_2.png" height="259">

3. Press `Add a domain`.

<img src="../img/github_pages_verification_step_3.png" height="259">

4. In the field that appears, type your is-a.dev domain name (e.g., `myname.is-a.dev`) and press `Add domain`.

<img src="../img/github_pages_verification_step_4.png" height="259">

5. Copy the hostname and the verification string.

<img src="../img/github_pages_verification_step_5.png" height="259">

## Create the domain file

Create a JSON file inside the `domains/` directory called `domains/hostname.json` using the hostname you copied in step 5 with the following content:

```json
{
"owner": {
"username": "github-username",
"email": "email@address"
},
"record": {
"TXT": "github-verification-string"
}
}
```

# Configuration
After your pull request has been merged, repeat the steps to get the verification string and press the `Verify` button.
If it shows any error such as `Unable to verify your domain`, try waiting a few minutes (sometimes up to 24 hours) as the DNS change might not have reflected on the DNS server.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ You can read more about the domains JSON file structure [here](domain-structure)
- [Hashnode Blogs](hashnode)
- [Cloudflare Pages](cloudflare_pages)
- [Discord Domain Verification](discord_verification)
- [GitHub Pages Domain Verification](github_pages_verification)
- [Delete Your Domain](delete_domain)
- [Edit Your Domain](edit_domain)
- [Replit](replit)
Expand Down
1 change: 1 addition & 0 deletions src/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ nav:
- Hashnode Blog: hashnode/index.md
- Cloudflare Pages: cloudflare_pages/index.md
- Discord Domain Verification: discord_verification/index.md
- GitHub Pages Domain Verification: github_pages_verification/index.md
- Delete Your Domain: delete_domain/index.md
- Edit Your Domain: edit_domain/index.md
- Replit: replit/index.md
Expand Down

0 comments on commit 471584e

Please sign in to comment.