You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,7 @@
1
1
# docusaurus-blogs-changes-to-workwechat-action
2
2
3
+
[English](./README.md) | [中文](./README_CN.md)
4
+
3
5
A GitHub Action to detect changes in Docusaurus blog posts and send notifications to a Work-WeChat robot. This action is specifically designed for projects using Docusaurus with blogs stored in a specified directory (default: `blog`).
4
6
5
7
---
@@ -39,7 +41,7 @@ Here is how you should configure `actions/checkout@v3` in your workflow:
| `wechat_webhook` | The webhook URL for your Work-WeChat robot. | ✅ Yes | N/A |
42
-
| `base_url` | The base URL of your GitHub Pages site (e.g., `https://yourusername.github.io/yourrepo`). | ✅ Yes | N/A |
44
+
| `base_url` | The base URL of your GitHub Pages site (e.g., `https://<yourusername>.github.io/<yourrepo>`). | ✅ Yes | N/A |
43
45
| `blog_dir` | The directory where your blog posts are stored. | ❌ No | `blog` |
44
46
| `message_template` | The template of the message to send. Supports placeholders for `addedBlogs`, `updatedBlogs`, `github.*` variables. | ❌ No | **See default template below.** |
45
47
@@ -86,7 +88,7 @@ jobs:
86
88
fetch-depth: 2 # Ensure we can compare HEAD with HEAD^
87
89
88
90
- name: Detect blog changes and send notifications
@@ -135,7 +137,7 @@ If something goes wrong, the following steps can help:
135
137
136
138
We welcome contributions! Here’s how you can get involved:
137
139
138
-
1. **Report Bugs**: If you encounter any issues, please open an issue in the [GitHub repository](https://github.com/your-username/docusaurus-blogs-changes-to-workwechat-action/issues).
140
+
1. **Report Bugs**: If you encounter any issues, please open an issue in the [GitHub repository](https://github.com/TinyFunction/docusaurus-blogs-changes-to-workwechat/issues).
139
141
2. **Suggest Features**: Have an idea to improve this action? Open a feature request in the Issues section.
140
142
3. **Submit Pull Requests**:
141
143
- Fork the repository.
@@ -146,8 +148,8 @@ We welcome contributions! Here’s how you can get involved:
0 commit comments