Skip to content

Commit c8b1cf7

Browse files
committed
升级
1 parent 6cbc41b commit c8b1cf7

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

.github/workflows/weread.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,10 @@ jobs:
3131
- name: weread sync
3232
run: |
3333
python scripts/weread.py
34-
- name: Set default year if not provided
35-
run: echo "YEAR=$(date +"%Y")" >> $GITHUB_ENV
36-
if: env.YEAR == ''
37-
- name: weread heatmap
34+
- name: 写入secrets.txt
3835
run: |
39-
github_heatmap weread --year $YEAR --me "${{secrets.NAME}}" --with-animation --background-color=${{ vars.background_color||'#FFFFFF'}} --track-color=${{ vars.track_color||'#ACE7AE'}} --special-color1=${{ vars.special_color||'#69C16E'}} --special-color2=${{ vars.special_color2||'#549F57'}} --dom-color=${{ vars.dom_color||'#EBEDF0'}} --text-color=${{ vars.text_color||'#000000'}}
36+
echo "NOTION_TOKEN=${NOTION_TOKEN}" > secrets.txt
37+
echo "NOTION_PAGE=${NOTION_PAGE}" >> secrets.txt
4038
- name: push
4139
run: |
4240
git config --local user.email "[email protected]"

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
requests
22
notion-client
3-
github-heatmap
43
python-dotenv

0 commit comments

Comments
 (0)