Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Sep0lkit/git-issues-blog

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Git-Issues-Blog (Github-Action)

GitHub Marketplace

A Github action to create issues from github repository.

I use this action for my blog system, make me more focused on writing.

Features:

  • WYWIWYG(What You Write Is What You Get)
  • Based on github file content
  • Automatically generate and update issues
  • Template support
  • Automatic conversion image link
  • Easy to using

Example:

Issues: Thanks-for-using.md

Usage:

name: git issues blog workflow
on: 
 push:
 branches:
 - master
 paths:
 - 'posts/*.md'
 - 'posts/*/*.md'
 - 'posts/*/*/*.md'
jobs:
 git-issues-blog:
 runs-on: ubuntu-latest
 steps:
 - uses: actions/checkout@v1
 with:
 ref: master
 - name: Git-Issues-Blog
 uses: Sep0lkit/git-issues-blog@v1.3
 env:
 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
 POSTS_PATH: 'posts'
 

Environment variables

  • POSTS_PATH - blog posts folder name, default is "posts"

Issues templates

"_tpl/post-header.md" and "_tpl/post-footer.md" for templates, issues content will be:

Issues = post-header.md + posts/example.md + post-footer.md

tpl variables support:

{{ GITHUB_POSTS_USER }} #github repository username

{{ GITHUB_POSTS_URL }} #posts url in file but not issues.

Something to do:

  • Posts by github user, but not github-action(github actions doesn't support now).

About

Auto build issues blog from github repository

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

AltStyle によって変換されたページ (->オリジナル) /