forked from lcjnil/github-notion-star
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (26 loc) · 724 Bytes
/
full-sync.yml
File metadata and controls
31 lines (26 loc) · 724 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: FullSync Notion Star
on:
workflow_dispatch:
jobs:
full-sync:
runs-on: ubuntu-latest
environment: notion-sync
steps:
- uses: actions/checkout@v2
- name: Setup environment
uses: actions/setup-node@v2.2.0
with:
always-auth: false
node-version: 16.x
cache: yarn
- run: yarn
- name: Run Full Sync
env:
NOTION_API_KEY: ${{ secrets.NOTION_API_KEY }}
NOTION_DATABASE_ID: ${{ secrets.NOTION_DATABASE_ID }}
TOKEN_OF_GITHUB: ${{ secrets.TOKEN_OF_GITHUB }}
FULLSYNC_LIMIT: 2000
PARTIALSYNC_LIMIT: 10
REPO_TOPICS_LIMIT: 50
FULL_SYNC: true
run: npm start