feat: update bug report and feature request templates
This commit is contained in:
3
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
3
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
@@ -1,7 +1,6 @@
|
|||||||
name: 🐛 Bug | Bug Report
|
name: 🐛 Bug | Bug Report
|
||||||
description: 报告错误或异常问题 | Report an error or unexpected behavior
|
description: 报告错误或异常问题 | Report an error or unexpected behavior
|
||||||
title:
|
title: "[Bug]: "
|
||||||
default: "[Bug] Something is not working"
|
|
||||||
labels:
|
labels:
|
||||||
- bug
|
- bug
|
||||||
|
|
||||||
|
|||||||
4
.github/ISSUE_TEMPLATE/feature_request.yml
vendored
4
.github/ISSUE_TEMPLATE/feature_request.yml
vendored
@@ -1,8 +1,6 @@
|
|||||||
name: ✨ 增加功能 | Feature Request
|
name: ✨ 增加功能 | Feature Request
|
||||||
description: 为此项目提出一个新想法或建议 | Suggest a new idea for this project
|
description: 为此项目提出一个新想法或建议 | Suggest a new idea for this project
|
||||||
title:
|
title: "[Feature]: "
|
||||||
default: "[Feature] Idea for new feature"
|
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
- enhancement
|
- enhancement
|
||||||
|
|
||||||
|
|||||||
33
.github/workflows/gh-pages.yml
vendored
33
.github/workflows/gh-pages.yml
vendored
@@ -1,33 +0,0 @@
|
|||||||
name: gp-pages
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
paths:
|
|
||||||
- 'sites/**'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build-deploy:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
- name: Set-up Node
|
|
||||||
uses: actions/setup-node@v1
|
|
||||||
with:
|
|
||||||
node-version: "18.15.0"
|
|
||||||
- name: Install pnpm
|
|
||||||
run: npm install -g pnpm
|
|
||||||
- name: Install dependencies
|
|
||||||
run: pnpm i
|
|
||||||
working-directory: ./sites
|
|
||||||
- name: Build gh-pages
|
|
||||||
run: pnpm docs:build
|
|
||||||
working-directory: ./sites
|
|
||||||
- name: Deploy to gh-pages
|
|
||||||
uses: crazy-max/ghaction-github-pages@v1
|
|
||||||
with:
|
|
||||||
target_branch: gh-pages
|
|
||||||
build_dir: sites/docs/.vuepress/dist
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.MY_TOKEN }}
|
|
||||||
Reference in New Issue
Block a user