I have a working Github Page. (Specifically: a Project Page with Jekyll that lives at [username].github.io/[project_name]/
.)
I can deploy. (By pushing changes to my gh-pages
branch and waiting a few minutes for it to build.)
How can I check the deploy/build status?
It's annoying to wait an unknown number of minutes after I push my changes to Github. I searched for 20 minutes and was surprised to find nothing. Am I misunderstanding something or using the wrong terms? o.O
To view current and past deployments, click Environments on the home page of your repository.
To see your published site, under "GitHub Pages", click your site's URL. Note: It can take up to 10 minutes for changes to your site to publish after you push the changes to GitHub.
Jekyll is a static site generator with built-in support for GitHub Pages and a simplified build process. Jekyll takes Markdown and HTML files and creates a complete static website based on your choice of layouts. Jekyll supports Markdown and Liquid, a templating language that loads dynamic content on your site.
Deploying to GitHub Pages is automatic. Once it's set up, deploying happens whenever you push your local changes to your remote, GitHub-hosted repository. Head to GitHub Pages' setup instructions and follow the steps exactly to get your main GitHub Pages page setup.
The easiest thing to do is to go to the commits page for your repo (https://github.com/USERNAME/REPO/commits/master
) and there will be a green check mark when it's done building. For example:
You can also query the Github API. For example using curl:
$ curl -u USERNAME https://api.github.com/repos/USERNAME/REPO/pages/builds/latest
{
"url": "https://api.github.com/repos/USERNAME/REPO/pages/builds/12345678",
"status": "built",
...
"created_at": "2018-07-26T17:23:42Z"
https://developer.github.com/v3/repos/pages/#get-latest-pages-build
Some example statuses you might see:
queued
building
built
error
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With