md/.github/workflows/release.yml
2023-12-15 20:32:18 +08:00

33 lines
936 B
YAML

name: Create Release
on:
push:
tags:
- "v*"
jobs:
build:
name: Create Release
runs-on: ubuntu-latest
if: github.repository == 'doocs/md'
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
body: |
# 微信 Markdown 编辑器 ${{ github.ref }} 发布🎈
[![github](https://badgen.net/badge/>>/GitHub/cyan)](https://github.com/doocs/md/releases) [![gitee](https://badgen.net/badge/>>/Gitee/cyan)](https://gitee.com/doocs/md/releases)
> Markdown 文档自动即时渲染为微信图文,让你不再为微信文章排版而发愁!
draft: false
prerelease: false