An open API service indexing awesome lists of open source software.

https://github.com/wayou/turn-issues-to-posts-action

Github action which turns issues into markdown files
https://github.com/wayou/turn-issues-to-posts-action

actions blog issues posts static

Last synced: 8 months ago
JSON representation

Github action which turns issues into markdown files

Awesome Lists containing this project

README

          

# turn-issues-to-posts-action

Github action which turn issues into post markdown files

## Usage

add `.github/workflows/main.yml` with following content:

```yaml
name: generate my blog posts
on:
issues:
types: [opened, edited]
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: wayou/turn-issues-to-posts-action@v1.2.5
with:
branch: "master" # default to master
dir: "_posts" # default to _posts
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
created_at: ${{ github.event.issue.created_at }}
title: ${{ github.event.issue.title }}
body: ${{ github.event.issue.body }}
actor: ${{ github.actor }}
```