Skip to content

Commit

Permalink
Merge pull request #19 from nalbam/main
Browse files Browse the repository at this point in the history
chore: Update sync-notion and start-ingestion workflows
  • Loading branch information
nalbam authored Aug 22, 2024
2 parents 5c8e234 + 39b31a5 commit f5c3ebc
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/5-sync-notion.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
name: sync-notion

on:
push:
branches:
- main
# push:
# branches:
# - main

schedule:
- cron: "0 20 * * 0-4"

env:
ENABLE_NOTION_SYNC: ${{ vars.ENABLE_NOTION_SYNC }}

NOTION_PAGE_NAME: "nalbam"
NOTION_PAGE_ID: "7aace0412a82431996f61a29225a95ec"
KNOWLEDGE_BASE_ID: ${{ vars.KNOWLEDGE_BASE_ID }}
DATA_SOURCE_ID: ${{ vars.DATA_SOURCE_ID }}

AWS_DEST_PATH: ${{ vars.AWS_DEST_PATH }}

KNOWLEDGE_BASE_ID: ${{ vars.KNOWLEDGE_BASE_ID }}
DATA_SOURCE_ID: ${{ vars.DATA_SOURCE_ID }}
NOTION_PAGE_NAME: "nalbam"
NOTION_PAGE_ID: "7aace0412a82431996f61a29225a95ec"

jobs:
sync:
Expand Down
File renamed without changes.
4 changes: 4 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
branches:
- main

repository_dispatch:
types:
- deploy

env:
ALLOWED_CHANNEL_IDS: ${{ vars.ALLOWED_CHANNEL_IDS }}
BOT_CURSOR: ${{ vars.BOT_CURSOR }}
Expand Down
2 changes: 2 additions & 0 deletions serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ functions:
- http:
method: post
path: /slack/events
tags:
Project: ${self:provider.environment.BASE_NAME}

resources:
Resources:
Expand Down

0 comments on commit f5c3ebc

Please sign in to comment.