Skip to content

Commit f0accc5

Browse files
committed
chore: cache docs analytics
1 parent d3655ce commit f0accc5

2 files changed

Lines changed: 25 additions & 0 deletions

File tree

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Pull RSSHub Analytics
2+
on:
3+
schedule:
4+
- cron: '0 0 * * *'
5+
workflow_dispatch:
6+
7+
permissions:
8+
contents: read
9+
10+
jobs:
11+
pull-analytics:
12+
runs-on: ubuntu-latest
13+
permissions:
14+
contents: write
15+
steps:
16+
- uses: actions/checkout@v5
17+
- name: Fetch analytics JSON
18+
run: |
19+
curl -sSfL https://api.folo.is/discover/rsshub-analytics -o rsshub-analytics.json
20+
- name: Commit
21+
uses: stefanzweifel/git-auto-commit-action@v7
22+
with:
23+
commit_message: "chore: auto update analytics"
24+
file_pattern: "rsshub-analytics.json"

rsshub-analytics.json

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)