Skip to content

Commit 8d8ebbc

Browse files
committed
chore: update action versions in workflows and remove outdated Cloudflare deployment instructions
1 parent 7737697 commit 8d8ebbc

File tree

4 files changed

+8
-60
lines changed

4 files changed

+8
-60
lines changed

.github/workflows/build_release.yml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,9 @@ jobs:
88
outputs:
99
version: ${{ steps.version.outputs.version }}
1010
steps:
11-
- uses: actions/checkout@v4
12-
with:
13-
fetch-depth: 0
11+
- uses: actions/checkout@v6
1412

15-
- uses: actions/setup-node@v4
16-
with:
17-
node-version: 22
13+
- uses: actions/setup-node@v6
1814

1915
- uses: pnpm/action-setup@v4
2016

@@ -54,13 +50,3 @@ jobs:
5450
tag_name: v${{ steps.version.outputs.version }}
5551
release_name: Release ${{ steps.version.outputs.version }}
5652
body_path: ./dist/CHANGELOG.md
57-
58-
- name: Publish package
59-
env:
60-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
61-
if: ${{ steps.commit.outcome == 'success' && env.NPM_TOKEN != '' }}
62-
run: |
63-
pnpm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }}
64-
node -e "import('@gkd-kit/tools').then((m) => m.updatePkgVersion());"
65-
pnpm publish --no-git-checks
66-
node -e "import('@gkd-kit/tools').then((m) => m.syncNpmmirror());"

.github/workflows/check_fix_push.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,9 @@ jobs:
1313
if: |
1414
${{ github.event.head_commit.message!='chore(actions): check_format_lint' }}
1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v6
1717

18-
- uses: actions/setup-node@v4
19-
with:
20-
node-version: 22
18+
- uses: actions/setup-node@v6
2119

2220
- uses: pnpm/action-setup@v4
2321

.github/workflows/pull_request_check.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ jobs:
99
check:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v4
12+
- uses: actions/checkout@v6
1313

1414
- name: Get changed files
1515
id: changed_files
16-
uses: tj-actions/changed-files@v44
16+
uses: tj-actions/changed-files@v47
1717
with:
1818
files: |
1919
src/apps/*.ts
@@ -31,9 +31,7 @@ jobs:
3131
exit 1
3232
fi
3333
34-
- uses: actions/setup-node@v4
35-
with:
36-
node-version: 22
34+
- uses: actions/setup-node@v6
3735

3836
- uses: pnpm/action-setup@v4
3937

README.md

Lines changed: 1 addition & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -111,41 +111,7 @@ raw.githubusercontent.com 在大陆的访问常常无法访问
111111
112112
如果无法访问 raw.githubusercontent.com 和 fastly.jsdelivr.net
113113
114-
您可以将本仓库的构建产物发布到 cloudflare Pages 上, 然后通过 cloudflare 加速访问
115-
116-
您需要先使用 github 登录 <https://dash.cloudflare.com>, 然后在左边菜单栏依次选择 **Build** --> **Compute** --> **Workers & Pages** , 接着点击页面右上角 **Create application**
117-
118-
![1](https://e.gkd.li/6d11b8ef-bef3-4582-8aa7-0c1b1535e2f5)
119-
120-
接着选择创建 Pages
121-
122-
![2](https://e.gkd.li/47ab6768-d363-49c2-98a2-e5eb82e58391)
123-
124-
导入一个现有的Git仓库
125-
126-
![3](https://e.gkd.li/376bbbf5-4e85-4f04-9e5c-c4a5a51ff469)
127-
128-
选择您的GKD订阅仓库, 如果仓库未显示, 点击跳转到github授权访问您的gkd订阅仓库。保存授权后会跳转回cloudflare, 重新走一遍前面的流程。
129-
130-
![4](https://e.gkd.li/c16fc2a3-fd14-4ec8-866b-77d36c58692d)
131-
132-
![5](https://e.gkd.li/9566ea89-0772-4332-ad7c-17ad5d55ef08)
133-
134-
前面选好仓库后, 下一步接着填您的项目名和订阅文件路径
135-
136-
项目名可以改成 `gkd-subscription-xxxx` 其中 `xxxx` 是订阅的 id 或者随机字母数字, 总之不冲突就行
137-
138-
![6](https://e.gkd.li/b59fa5f2-e7bb-40d8-8855-b1a847fdc397)
139-
140-
填完后保存并部署, 等待部署完回到 **Workers & Pages** 页
141-
142-
![7](https://e.gkd.li/64d0d6de-e11d-433d-8f87-3e6849f755be)
143-
144-
这时您会得到一个网址 `gkd-subscription-233.pages.dev`, 加上前缀后缀就得到的镜像加速链接如下 (链接仅供参考)
145-
146-
```txt
147-
https://gkd-subscription-233.pages.dev/gkd.json5
148-
```
114+
请自行解决网络问题
149115
150116
## 自定义配置文件
151117

0 commit comments

Comments
 (0)