DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 963,274 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
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)

Update Your DEV Experience Level:

Settings

Go to your customization settings to nudge your home feed to show content more relevant to your developer experience level. πŸ›