@pioug/blog

Hello World!

#webdev

Proof of concept

The main idea is creating a static blog with 11ty, hosted on GitHub Pages, deployed via GitHub Action, editable with GitHub Issues. See the repository https://github.com/pioug/blog.

Workflow

  1. Create (or edit) an issue in the GitHub repository.
  2. GitHub Actions receives an issues event.
  3. A workflow fetches all issues in the repository using the GraphQL API of GitHub then uses Eleventy to compile the Markdown files using the body of the issues. The front matter is built from the title, tags and creation date of the issues.
  4. Another workflow git-commits and git-pushes the build folder to the GitHub Pages branch.
  5. GitHub Pages assets are automatically refreshed.

Why

How

Test

console.log("Verify nice markdown support");

Totakeke