Headless CMS using Github Issues and Github Actions

insan3

Oscar Nevárez

Posted on November 15, 2021

Headless CMS using Github Issues and Github Actions

My Workflow

Headless CMS using Hugo, Github Issues and Github Actions.

Every time a new issue is created, a new post is created as well.

  • main branch holds the content in markdown format. See content folder
  • gh-pages branch contains the distributable html site.

Submission Category:

Maintainer Must-Haves & DIY Deployments

Yaml File or Link to Code

GitHub logo oscarnevarezleal / gh-cms

Headless CMS using Github Issues and Github Actions

Gh-Cms

Headless CMS using Hugo, Github Issues and Github Actions.

How?

Every time a new issue is created, a new post is created as well.

Branch structure

  • main branch holds the content in markdown format. See content folder
  • gh-pages branch contains the distributable html site.

Bonus feature

Serve your content before publish it using ngrok.Take a look at .github/workflows/gh-serve.yml

Tech

  • Hugo
  • Github Actions

Github actions

  • actions/checkout@v2
  • peaceiris/actions-hugo@v2
  • stefanzweifel/git-auto-commit-action@v4
  • oscarnevarezleal/ngrok-tunneling-action@dev



Additional Resources / Info

live demo

Create a new post by submitting a new issue

Tech

  • Hugo
  • Github Actions

Github actions

  • actions/checkout@v2
  • peaceiris/actions-hugo@v2
  • stefanzweifel/git-auto-commit-action@v4
  • oscarnevarezleal/ngrok-tunneling-action@dev
💖 💪 🙅 🚩
insan3
Oscar Nevárez

Posted on November 15, 2021

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

Label automation at your fingertips
actionshackathon21 Label automation at your fingertips

December 8, 2021

Releasing the funniest GitHub Action & Workflow
actionshackathon21 Releasing the funniest GitHub Action & Workflow

December 9, 2021

The Gatsby Changelog Prototype
actionshackathon21 The Gatsby Changelog Prototype

December 7, 2021