DEV Community

Cover image for Headless CMS using Github Issues and Github Actions
Oscar Nevárez
Oscar Nevárez

Posted on

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

Top comments (0)