forked from Vu1nT0tal/yarb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
2,405 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,22 +19,22 @@ jobs: | |
with: | ||
python-version: '3.x' | ||
- name: Install dependencies | ||
run: pip install -r requirements.txt | ||
run: ./install.sh | ||
|
||
- name: Push articles | ||
env: | ||
FEISHU_KEY: ${{ secrets.FEISHU_KEY }} | ||
WECOM_KEY: ${{ secrets.WECOM_KEY }} | ||
DINGTALK_KEY: ${{ secrets.DINGTALK_KEY }} | ||
run: python3 yarb.py --update | ||
run: python3 yarb.py | ||
|
||
- name: Commit | ||
run: | | ||
git diff | ||
git config --global user.email [email protected] | ||
git config --global user.name firmianay | ||
git add archive today.md | ||
git commit -m "Update: `date +'%Y-%m-%d'`" | ||
git commit -m "每日安全资讯(`date +'%Y-%m-%d'`)" | ||
- name: Push changes | ||
uses: ad-m/github-push-action@master | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
rss/ | ||
cqhttp/ | ||
|
||
# Byte-compiled / optimized / DLL files | ||
__pycache__/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
|
||
python3 -m pip install -r requirements.txt | ||
|
||
wget -q https://github.com/Mrs4s/go-cqhttp/releases/download/v1.0.0-rc1/go-cqhttp_linux_amd64.tar.gz -O ./cqhttp/go-cqhttp.tar.gz | ||
cd cqhttp && tar xzf go-cqhttp.tar.gz go-cqhttp && rm go-cqhttp.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,5 @@ feedparser | |
pyfiglet | ||
colorama | ||
schedule | ||
pyyaml | ||
git+https://github.com/kurtmckee/listparser@develop |
Oops, something went wrong.