Skip to content

PSModule/blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Template-Blog

A template repo for blog repositories.

Prerequisites

  1. New branch called 'gh-pages' created from the main branch.
  2. Enable GitHub Pages in the repository settings, selecting the 'gh-pages' branch as the source.
  3. Enable Discussions in the repository settings.

Deploying the blog

The Blog.yml file is used to deploy the blog to Github Pages. The entire blog is generated from the discussions in the repository and runs when . The workflow is triggered when a discussion is created or updated.

Deploying a blog post

  1. Open a Discussion of type 'Blog'.
  2. Upon discussion creation of update, a workflow is triggered:
    • Get all discussions of type 'Blog'.
    • Create a Markdown file for each discussion.
    • Push the Markdown files to the 'gh-pages' branch.
  3. GitHub Pages will automatically deploy the changes to the website.

About

Blog

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks