Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I check the deploy status of Github Pages? (Specifically: Project Pages w/ Jekyll)

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

like image 707
thewillcole Avatar asked Nov 26 '13 20:11

thewillcole


People also ask

How do I see deployments on GitHub?

To view current and past deployments, click Environments on the home page of your repository.

How long does it take for GitHub Pages to Deploy?

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.

How does Jekyll work with GitHub Pages?

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.

How does GitHub Pages Deploy?

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.


1 Answers

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:

enter image description here

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
like image 90
bmaupin Avatar answered Oct 16 '22 18:10

bmaupin