Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
j178 authored Oct 10, 2022
1 parent d8222ec commit 9751de1
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ twiyou(推油)是一款推特好友/推特数据监测工具。
如果自己没有服务器的话,可以使用免费的 GitHub Action 来跑:
1. fork 这个项目
2. 在 Repo Settings - Secrets 里配置好环境变量
3.https://github.com/settings/profile - Developer Settings - Personal Access Token 里生成一个新的 token
4. 配置一个触发器定时发送类似下面的 API 请求来触发 Github Action:
3.https://github.com/settings/tokens 里生成一个新的 Personal access token
4. 配置一个触发器定时发送类似下面的 HTTP 请求来触发 Github Action:
```shell
curl \
-X POST \
Expand All @@ -64,9 +64,10 @@ https://api.github.com/repos/<OWNER>/twiyou/actions/workflows/scrape.yml/dispatc
```

这类第三方服务比较多,比如 Cloudflare worker,https://cron-job.org 都行。以 cron-job.org 为例:
<img width="500" alt="image" src="https://user-images.githubusercontent.com/10510431/194699857-750ddb69-a377-4be0-a26d-9af24951c430.png">
<img width="500" alt="image" src="https://user-images.githubusercontent.com/10510431/194699890-629095d5-1619-41b7-a234-8fcbf3235358.png">

<p align="center">
<img width="45%" alt="image" src="https://user-images.githubusercontent.com/10510431/194699857-750ddb69-a377-4be0-a26d-9af24951c430.png">
<img width="45%" alt="image" src="https://user-images.githubusercontent.com/10510431/194699890-629095d5-1619-41b7-a234-8fcbf3235358.png">
</p>

### 4. 配置 Grafana

Expand Down

0 comments on commit 9751de1

Please sign in to comment.