修改workflow,添加变量secrets

This commit is contained in:
miaogongzi 2024-02-28 20:55:07 +08:00
parent 91fd056db0
commit 940cdfbbe8
2 changed files with 6 additions and 4 deletions

View File

@ -149,7 +149,9 @@ jobs:
ylogin: ${{ secrets.LANZOU_ID }}
phpdisk_info: ${{ secrets.LANZOU_PSD }}
# 蓝奏云里的文件夹ID阅读3测试版:2670621
LANZOU_FOLDER_ID: '8782634'
LANZOU_FOLDER_ID: ${{ secrets.LANZOU_FOLDER_ID }}
#蓝奏云分享链接
LANZOU_URL: ${{ secrets.LANZOU_URL }}
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
@ -162,7 +164,7 @@ jobs:
run: |
path="$GITHUB_WORKSPACE/apk/"
python3 $GITHUB_WORKSPACE/.github/scripts/lzy_web.py "$path" "$LANZOU_FOLDER_ID"
echo "[$(date -u -d '+8 hour' '+%Y.%m.%d %H:%M:%S')] 分享链接: https://miaogongzi.lanzout.com/b01rgkhhe"
echo "[$(date -u -d '+8 hour' '+%Y.%m.%d %H:%M:%S')] 分享链接: $LANZOU_URL"
test_Branch:
needs: [ prepare, build ]

View File

@ -1,8 +1,8 @@
# 源规则帮助
* [阅读3.0(Legado)规则说明](https://mgz0227.github.io/The-tutorial-of-Legado/)
* [书源帮助文档](https://celetor.github.io/teachme/Rule/source.html)
* [订阅源帮助文档](https://celetor.github.io/teachme/Rule/rss.html)
* [书源帮助文档](https://mgz0227.github.io/The-tutorial-of-Legado/Rule/source.html)
* [订阅源帮助文档](https://mgz0227.github.io/The-tutorial-of-Legado/Rule/rss.html)
* 辅助键盘❓中可插入URL参数模板,打开帮助,js教程,正则教程,选择文件
* 规则标志, {{......}}内使用规则必须有明显的规则标志,没有规则标志当作js执行
```