Skip to content

Commit

Permalink
Merge pull request #1 from whanyu1212/develop
Browse files Browse the repository at this point in the history
editing actions.yml
  • Loading branch information
whanyu1212 authored Jul 1, 2024
2 parents d7f3850 + 3f1976e commit c0ca20e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: run main.py

on:
schedule:
- cron: '0 0 * * 1' # At 00:00 on Monday
- cron: '0 3 * * 1'

jobs:
build:
Expand All @@ -26,6 +26,12 @@ jobs:
poetry install
- name: execute py script
env:
NOTION_API_KEY: ${{ secrets.NOTION_API_KEY }}
NOTION_DB_ID: ${{ secrets.NOTION_DB_ID }}
TELEGRAM_TOKEN: ${{ secrets.TELEGRAM_TOKEN }}
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
run: |
poetry run python src/scripts/run_workflow.py
continue-on-error: true # Optional: continue to the next step even if this step fails

0 comments on commit c0ca20e

Please sign in to comment.