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 434e0ee commit b9e172c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ permissions:
jobs:
update_tushare:
runs-on: ubuntu-latest
environment: Daily Update # 指定使用Daily Update环境
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.9
Expand Down
1 change: 0 additions & 1 deletion etl/tushare_etl.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import tushare as ts
end_date = datetime.datetime.now().strftime('%Y%m%d')
tushare_token = os.getenv('TUSHARE_TOKEN') # 存储在github的秘钥仓库中,供action每天运行
print(tushare_token)
pro = ts.pro_api(tushare_token)
data_path = 'data'

Expand Down

0 comments on commit b9e172c

Please sign in to comment.