mirror of
https://github.com/snltty/linker.git
synced 2026-03-25 23:40:50 +08:00
sync
This commit is contained in:
36
.github/workflows/sponsor.yml
vendored
Normal file
36
.github/workflows/sponsor.yml
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
name: Sponsor Generation
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: "0 */24 * * *"
|
||||
workflow_dispatch:
|
||||
push:
|
||||
|
||||
jobs:
|
||||
generate:
|
||||
permissions:
|
||||
contents: write
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 5
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v5
|
||||
|
||||
- name: Create dist directory
|
||||
run: mkdir dist
|
||||
|
||||
- name: Run afdian-sponsor action
|
||||
uses: Sn0wo2/afdian-sponsor@v1
|
||||
env:
|
||||
AFDIAN_USER_ID: ${{ secrets.AFDIAN_USER_ID }}
|
||||
AFDIAN_API_TOKEN: ${{ secrets.AFDIAN_API_TOKEN }}
|
||||
AFDIAN_OUTPUT: "./dist/afdian-sponsor.svg"
|
||||
|
||||
- name: Push afdian-sponsor-svg to the out/sponsor branch
|
||||
uses: crazy-max/ghaction-github-pages@v4
|
||||
with:
|
||||
target_branch: out/sponsor
|
||||
build_dir: dist
|
||||
commit_message: "ci(sponsor): deploy"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.ACTIONS_TOKEN }}
|
||||
@@ -76,6 +76,8 @@
|
||||
|
||||
若此项目对您有用,可以考虑对作者稍加支持,让作者更有动力,在项目上投入更多时间和精力
|
||||
|
||||
<img src="https://github.com/snltty/linker/raw/refs/heads/out/sponsor/afdian-sponsor.svg" alt="sponsor">
|
||||
|
||||
<details>
|
||||
<summary><strong>感谢名单</strong></summary>
|
||||
<div>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
v1.9.4
|
||||
2025-10-24 11:13:18
|
||||
2025-10-24 12:03:20
|
||||
1. 一些累计更新,一些BUG修复
|
||||
2. 虚拟网卡TCP转代理,为TCP隧道提速
|
||||
3. 一些UI优化
|
||||
|
||||
Reference in New Issue
Block a user