-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from Stef-00012/main
Add GitHub Pages verification
- Loading branch information
Showing
8 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters