Skip to content

Commit f361c4f

Browse files
committed
Site updated: 2026-02-11 15:24:02
1 parent 83cd698 commit f361c4f

File tree

140 files changed

+43546
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

140 files changed

+43546
-0
lines changed
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
name: Hexo Seo Submit
2+
on:
3+
schedule:
4+
- cron: 0 4 * * *
5+
push:
6+
branches:
7+
- main
8+
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
13+
jobs:
14+
push:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@main
18+
- uses: actions/setup-node@main
19+
with:
20+
node-version: latest
21+
22+
- name: check owner
23+
id: check_owner
24+
run: |
25+
OWNER_TYPE=$(jq -r '.repository.owner.type' "$GITHUB_EVENT_PATH")
26+
OWNER_ID=$(jq -r '.repository.owner.id' "$GITHUB_EVENT_PATH")
27+
SENDER_ID=$(jq -r '.sender.id' "$GITHUB_EVENT_PATH")
28+
29+
if [ "$OWNER_TYPE" = "User" ] && [ "$OWNER_ID" -eq "$SENDER_ID" ]; then
30+
echo "is_owner=true" >> $GITHUB_ENV
31+
elif [ "$OWNER_TYPE" = "Organization" ]; then
32+
echo "is_owner=true" >> $GITHUB_ENV
33+
else
34+
echo "is_owner=false" >> $GITHUB_ENV
35+
fi
36+
env:
37+
GITHUB_EVENT_PATH: ${{ github.event_path }}
38+
39+
- name: install dependencies
40+
run: |
41+
npm init -y
42+
npm install hexo-seo-submit
43+
44+
45+
- name: push search engine bing
46+
if: env.is_owner
47+
continue-on-error: true
48+
run: |
49+
npx hexo-seo-submit@1.8.0 bing -k ${{ secrets.bing_apikey }} -f bing.json
50+
51+
- name: push search engine google
52+
if: env.is_owner
53+
continue-on-error: true
54+
run: |
55+
npx hexo-seo-submit@1.8.0 google -f google.txt -m ${{ secrets.google_client_email }} -k "${{ secrets.google_private_key }}"

2021/HTTPS知识点总结.html

Lines changed: 742 additions & 0 deletions
Large diffs are not rendered by default.

2021/JDK下载地址接口.html

Lines changed: 227 additions & 0 deletions
Large diffs are not rendered by default.

2021/let’s-encrypt泛域名免费SSL证书.html

Lines changed: 272 additions & 0 deletions
Large diffs are not rendered by default.

2021/使用Fiddler对Java程序进行抓包.html

Lines changed: 277 additions & 0 deletions
Large diffs are not rendered by default.

2021/在RestTemplate中使用HttpComponentsClientHttpRequest解析gzip编码.html

Lines changed: 267 additions & 0 deletions
Large diffs are not rendered by default.

2021/在Windows上编译zeal.html

Lines changed: 277 additions & 0 deletions
Large diffs are not rendered by default.

2021/泰拉瑞亚实现自动钓鱼.html

Lines changed: 253 additions & 0 deletions
Large diffs are not rendered by default.

2022/EazyExcel与@Accessors,@Builder与@SuperBuilder.html

Lines changed: 289 additions & 0 deletions
Large diffs are not rendered by default.

2022/Linux上的TZ环境变量.html

Lines changed: 262 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)