Skip to content

Commit c0ca20e

Browse files
authored
Merge pull request #1 from whanyu1212/develop
editing actions.yml
2 parents d7f3850 + 3f1976e commit c0ca20e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/actions.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: run main.py
22

33
on:
44
schedule:
5-
- cron: '0 0 * * 1' # At 00:00 on Monday
5+
- cron: '0 3 * * 1'
66

77
jobs:
88
build:
@@ -26,6 +26,12 @@ jobs:
2626
poetry install
2727
2828
- name: execute py script
29+
env:
30+
NOTION_API_KEY: ${{ secrets.NOTION_API_KEY }}
31+
NOTION_DB_ID: ${{ secrets.NOTION_DB_ID }}
32+
TELEGRAM_TOKEN: ${{ secrets.TELEGRAM_TOKEN }}
33+
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}
34+
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
2935
run: |
3036
poetry run python src/scripts/run_workflow.py
3137
continue-on-error: true # Optional: continue to the next step even if this step fails

0 commit comments

Comments
 (0)