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 7b8de6f commit ec2cb6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Daily Update Partial Macropage Data

on:
schedule:
- cron: '*/5 * * * *'
- cron: '30 17/0 * * *'
push:
branches: [ "main" ]

Expand Down
2 changes: 1 addition & 1 deletion etl/tushare_etl.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import os
import datetime
import pandas as pd
import tushare_etl as ts
import tushare as ts
end_date = datetime.datetime.now().strftime('%Y%m%d')
tushare_token = os.getenv('TUSHARE_TOKEN') # 存储在github的秘钥仓库中,供action每天运行
pro = ts.pro_api(tushare_token)
Expand Down

0 comments on commit ec2cb6c

Please sign in to comment.