From bc8913fa5826ea741e4183c70b0252003ad92c1e Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Wed, 29 Nov 2023 21:45:51 +0800 Subject: [PATCH] chore: add sponsor badge. --- .github/FUNDING.yml | 14 +++++++------- .github/workflows/ci.yml | 6 ++++-- README.md | 1 + idoc.yml | 1 + 4 files changed, 13 insertions(+), 9 deletions(-) diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 3d336b4..021de74 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,9 +1,9 @@ # These are supported funding model platforms -github: [jaywcjlove] -patreon: # Replace with a single Patreon username -open_collective: # Replace with a single Open Collective username -ko_fi: # Replace with a single Ko-fi username -tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel -community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry -custom: https://jaywcjlove.github.io/sponsor.html +# github: [jaywcjlove] +# patreon: # Replace with a single Patreon username +# open_collective: # Replace with a single Open Collective username +# ko_fi: # Replace with a single Ko-fi username +# tidelift: #npm/xxxx +# community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +custom: https://jaywcjlove.github.io/#/sponsor diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a3e47d9..403ad6c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 18 registry-url: 'https://registry.npmjs.org' - run: npm install @@ -35,7 +35,7 @@ jobs: with: user_name: 'github-actions[bot]' user_email: 'github-actions[bot]@users.noreply.github.com' - commit_message: ${{steps.tag_version.outputs.tag}} ${{ github.event.head_commit.message }} + commit_message: ${{ github.event.head_commit.message }} github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./dist @@ -55,6 +55,8 @@ jobs: name: ${{ steps.create_tag.outputs.version }} tag: ${{ steps.create_tag.outputs.version }} body: | + [![Buy me a coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee)](https://jaywcjlove.github.io/#/sponsor) + Documentation ${{ steps.changelog.outputs.tag }}: https://raw.githack.com/jaywcjlove/vim-web/${{ steps.changelog.outputs.gh-pages-short-hash }}/index.html Comparing Changes: ${{ steps.changelog.outputs.compareurl }} diff --git a/README.md b/README.md index af50789..27ca957 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ Shell Tutorial === +[![Buy me a coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee)](https://jaywcjlove.github.io/#/sponsor) [![CI](https://github.com/jaywcjlove/shell-tutorial/actions/workflows/ci.yml/badge.svg)](https://github.com/jaywcjlove/shell-tutorial/actions/workflows/ci.yml) 最近需要写一个脚本管理服务,花了两天时间学习了一下shell脚本,记录我的学习笔记。 diff --git a/idoc.yml b/idoc.yml index c8da7b4..9ed6090 100644 --- a/idoc.yml +++ b/idoc.yml @@ -5,6 +5,7 @@ favicon: "./logo.svg" menus: Home: index.html Regex: shell-regex.html + Sponsor: https://jaywcjlove.github.io/#/sponsor editButton: label: Edit this page on GitHub