Skip to content

Commit

Permalink
更新ACTION
Browse files Browse the repository at this point in the history
  • Loading branch information
AFAN-LIFE committed Aug 9, 2024
1 parent b9e172c commit 5a88417
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches: [ "main" ]

permissions:
contents: read
contents: write # 允许写权限,以便提交更改

jobs:
update_tushare:
Expand All @@ -27,3 +27,8 @@ jobs:
env:
TUSHARE_TOKEN: ${{secrets.TUSHARE_TOKEN}} # 将TUSHARE密钥传递给环境变量
run: python etl/tushare_etl.py
- name: Commit and Push changes # 新增步骤
run: |
git add .
git commit -m "daily update tushare data"
git push

0 comments on commit 5a88417

Please sign in to comment.