Get Feed #507
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Get Feed | |
on: | |
schedule: | |
- cron: '30 12 * * *' # 6pm IST | |
workflow_dispatch: | |
jobs: | |
get-feed: | |
name: Run rust | |
runs-on: ubuntu-latest | |
env: | |
NOTION_API_TOKEN: ${{ secrets.NOTION_API_TOKEN }} | |
NOTION_SOURCE_DATABASE_ID: ${{ secrets.NOTION_SOURCE_DATABASE_ID }} | |
NOTION_FEED_DATABASE_ID: ${{ secrets.NOTION_FEED_DATABASE_ID }} | |
steps: | |
- name: Update Notion Feed | |
run: | | |
curl -L -o notion-feed https://github.com/abereghici/notion-feed.rs/raw/build/build/notion-feed | |
chmod +x ./notion-feed | |
./notion-feed |