You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
token_v2: ${{ secrets.NOTION_TOKEN_V2 }}# Required only if your database is private
51
51
```
52
52
53
+
**TIP**: You can test out using [this template](https://www.notion.so/devorein/6c46c1ebc5a44db78e3f5fe285071ab6?v=0bc36e7c59e54f34b0838956e35b4490) that I've created.
54
+
53
55
### In your notion account
54
56
55
57
#### 1. Create a full page database
@@ -75,7 +77,15 @@ with:
75
77
database_id: '6626c1ebc5a44db78e3f2fe285171ab7'
76
78
```
77
79
78
-
#### 4. Get your notion `token_v2`
80
+
Follow the rest of the steps only if your database is not public, if its public you don't need to set the token_v2
81
+
82
+
#### To make your database public
83
+
84
+
1. Navigate to the database in your notion account
85
+
2. Click on Share at the top right corner
86
+
3. Click on Share to Web button.
87
+
88
+
#### 1. Get your notion `token_v2`
79
89
80
90
**NOTE**: By no means should you share or expose your notion `token_v2`. If you feel like you've done so accidentally, immediately log out from that account in all of your devices.
81
91
@@ -87,7 +97,7 @@ Follow the steps below to obtain your `token_v2`:
87
97
88
98
**NOTE**: Its highly recommended to store your `token_v2` as a github secret rather than pasting it in your workflow file.
89
99
90
-
#### 5. Create a github secret to store `token_v2`
100
+
#### 2. Create a github secret to store `token_v2`
91
101
92
102
1. navigate to the url `https://github.com/<USERNAME>/<REPO-NAME>/settings/secrets/actions`
0 commit comments