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
- Host: GitHub
- URL: https://github.com/wayou/turn-issues-to-posts-action
- Owner: wayou
- Created: 2020-10-22T14:47:44.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-27T03:21:46.000Z (over 5 years ago)
- Last Synced: 2025-10-13T18:24:33.616Z (8 months ago)
- Topics: actions, blog, issues, posts, static
- Homepage:
- Size: 15.6 KB
- Stars: 9
- Watchers: 1
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
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 }}
```