Your Bio Website on GitHub Pages: Accept, Publish and Update¶
PDF: Download this guide (PDF)
Overview¶
| Who it's for | Katie Buck, the owner of the Katie-Buck-Bio website project, and anyone setting up a similar one-page bio site |
| What you need | A GitHub account (katievbuck), access to the email on that account, a web browser, and about 20 minutes |
| Goal | Accept the project transfer, turn on publishing, check the live site, then learn to edit text, swap the resume and change the preview picture |
| Reading level | Plain English, short steps, no coding |
Your bio page is a simple website: one main page, a stylesheet, your resume and a few small images. There is nothing to install and no separate web host. GitHub publishes it for you each time a change is saved.
The page introduces you as a Clinical Research Specialist in Carolina Beach, NC. Its words come from your resume. The page does not add employers, dates or credentials that your resume doesn't already contain.
| Address | |
|---|---|
| Your project on GitHub | https://github.com/katievbuck/Katie-Buck-Bio |
| Your public website, after the move | https://katievbuck.github.io/Katie-Buck-Bio/ |
You own the project once you accept the transfer. The project name stays Katie-Buck-Bio.
Your road map¶
flowchart LR
A["1. Accept the transfer"] --> B["2. Turn on publishing"] --> C["3. Check the live site"] --> D["4. Edit and update"]
How publishing works¶
GitHub publishes the site for you. You never upload the page to another web host.
A file named .github/workflows/pages.yml runs every time a change is saved on the main branch. GitHub calls that automation an Action. On the Actions tab its name is Deploy Katie Buck bio to GitHub Pages. When a run finishes with a green check, the public page has updated. That usually takes a minute or two.
flowchart LR
E["You save a change"] --> F["Action runs on main"]
F --> G["Green check"]
G --> H["Live site updated"]
You can also start it by hand:
- Open the project on GitHub.
- Click the Actions tab.
- Click Deploy Katie Buck bio to GitHub Pages.
- Click Run workflow, leave the branch set to
main, and confirm.
Step 1: Accept the transfer¶
The project is moving from the GitHub account willyd61 to your account, katievbuck. GitHub does not finish the move until you accept it.
- Sign in to GitHub as katievbuck at github.com.
- Watch the inbox of the primary email on that GitHub account. GitHub sends a message saying a repository transfer is waiting.
- Open that email and follow its link.
- Read the confirmation page and accept the transfer.
Accept within one day
The invitation expires after one day, and then it has to be sent again. If the email doesn't arrive, check your spam folder and confirm that the primary email on your GitHub account is one you can open. GitHub sends the invitation to that address.
When the transfer finishes, the project lives at https://github.com/katievbuck/Katie-Buck-Bio.
Step 2: Checklist after the transfer¶
Do these once on the new project.
- Set the publishing source. Open the project, click Settings, then Pages. Under Build and deployment, set Source to GitHub Actions. Until this is set, saving a change won't update the public page.
- Turn on HTTPS. On the same Pages screen, check Enforce HTTPS so visitors use the secure address that starts with
https://. If the box is greyed out, wait a few minutes and look again while GitHub prepares the certificate. - Enable Actions if GitHub asks. Open the Actions tab. If you see a button to enable workflows, click it. If the public page isn't up yet, open Deploy Katie Buck bio to GitHub Pages and use Run workflow once.
- Set the description and website. On the main project page, click the gear icon next to About.
- Description:
Professional bio for Katie Buck, Clinical Research Specialist. - Website:
https://katievbuck.github.io/Katie-Buck-Bio/ - Save the changes.
- Description:
Step 3: Check the live site¶
Open https://katievbuck.github.io/Katie-Buck-Bio/ and check that your name and the page sections appear. A private or incognito window avoids an old saved copy.
Seeing a 404 page?
Go back to Step 2, items 1 and 3, and wait for the Action to finish with a green check.
The old address stops working
The previous public address, https://willyd61.github.io/Katie-Buck-Bio/, stops working after the move. GitHub does not forward it. Share the new katievbuck.github.io address from now on.
Step 4: Edit the words on the page¶
The visible text lives in a file named index.html. You can change it in the browser.
- Open
https://github.com/katievbuck/Katie-Buck-Bio. - Click
index.html. - Click the pencil icon (Edit this file). Sign in if GitHub asks.
- Change the sentences you want to change. Leave anything inside angle brackets (
<and>) alone unless you are updating a link on purpose. - Click Commit changes.
- Choose Commit directly to the
mainbranch. - Write a short note, such as
Update experience summary, and confirm.
GitHub then runs the publishing Action. Refresh the public site after a minute or two.
Undo a mistake
If a change doesn't look right, open index.html again and use History on that file. GitHub keeps every earlier version, and you can restore one.
Step 5: Replace your resume¶
The page offers two downloads in the assets folder:
Katie-Buck-Resume.pdfKatie-Buck-Resume.docx
Keep those exact file names and the download buttons keep working.
Keep private details out
Before you upload a new resume, open it on your computer and remove any phone number and any street address. They don't belong in a public project. The city and state already on the page can stay. Never type a phone number or home address into index.html or any other file in the project.
To replace a file on GitHub:
- Open the
assetsfolder. - Click the resume file you are replacing.
- Click the trash icon, then commit that deletion to the
mainbranch. - Click Add file, then Upload files, and choose the new PDF or Word file.
- Check that the uploaded name is exactly
Katie-Buck-Resume.pdforKatie-Buck-Resume.docx. - Commit the upload directly to the
mainbranch.
If the new file has a different name, upload it and then edit index.html. Search for Katie-Buck-Resume and point every resume link at the new name. There are download buttons near the top of the page and again in the Contact section. Near the top of index.html a block starting with application/ld+json lists the two resume web addresses. Update those too, using https://katievbuck.github.io/Katie-Buck-Bio/assets/ plus the new file name.
The buttons also show a file size, such as "73 KB". If your new file is a different size, change that number in the button text so it stays accurate.
Step 6: Update the preview image¶
When someone shares your site, a preview card can appear in the message. That picture is assets/og-image.png, sized 1200 pixels wide by 630 pixels tall. The current card is text only.
Replace it the same way as the resume: delete og-image.png in assets, then upload the new picture with the same name, og-image.png. The links in index.html already point at that name, so you don't edit anything else.
If you give the picture a new name, update every og-image.png address in index.html to the new name. Those addresses use the full site URL, https://katievbuck.github.io/Katie-Buck-Bio/assets/, followed by the file name.
Previews can lag
Apps such as LinkedIn and Messages often save the old preview. A new picture can take a while to show up there even after your site has updated.
Optional: use your own web address¶
You can keep the free address https://katievbuck.github.io/Katie-Buck-Bio/. You don't need to buy a domain. If you later want an address you own:
- Open Settings, then Pages.
- Under Custom domain, type the domain and save.
- At the company where you bought the domain, add the DNS records GitHub shows on that Pages screen. GitHub's guide, Configuring a custom domain for your GitHub Pages site, walks through the records.
- When GitHub says the domain is ready, check Enforce HTTPS.
- Update the address written inside the project so search engines and link previews use the new domain. In
index.html,sitemap.xmlandrobots.txt, replacehttps://katievbuck.github.io/Katie-Buck-Bio/with your domain, including the preview-image links. Ask for help if you'd rather not make that edit yourself.
No CNAME file needed
This site is published by the Action in .github/workflows/pages.yml, so the domain is set under Settings → Pages. You don't add a separate CNAME file.
Quick cheat sheet¶
| I want to… | Do this |
|---|---|
| Finish the move | Accept the GitHub email as katievbuck within one day |
| Make the site go live | Settings → Pages → Source: GitHub Actions, then Enforce HTTPS |
| Change the wording | Open index.html, click the pencil, Commit changes |
| Swap my resume | Delete the old file in assets, upload the new one with the same name |
| Undo a mistake | Open the file, click History, restore an earlier version |
| Re-run publishing | Actions → Deploy Katie Buck bio to GitHub Pages → Run workflow |
Getting help¶
- The project's README has more detail about the files.
- After a transfer between personal accounts, GitHub keeps the previous owner as a collaborator. On this project that account is willyd61. Ask there if a publishing step fails.
- GitHub Support
Sources¶
- Transferring a repository. The email GitHub sends is the step that completes the move.
- About GitHub Pages
- Editing files
- Securing your GitHub Pages site with HTTPS
- Configuring a custom domain for your GitHub Pages site