File tree Expand file tree Collapse file tree 3 files changed +70
-3
lines changed
Expand file tree Collapse file tree 3 files changed +70
-3
lines changed Original file line number Diff line number Diff line change 1+ name : Build and Release
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ workflow_dispatch :
8+
9+ jobs :
10+ build :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - name : Checkout
15+ uses : actions/checkout@v4
16+
17+ - name : Setup Node.js
18+ uses : actions/setup-node@v4
19+ with :
20+ node-version : ' 18'
21+ cache : ' npm'
22+
23+ - name : Install dependencies
24+ run : npm install
25+
26+ - name : Build plugin
27+ run : npm run build
28+
29+ - name : Create plugin directory
30+ run : mkdir obsidotion-plugin
31+
32+ - name : Copy plugin files
33+ run : |
34+ cp main.js obsidotion-plugin/
35+ cp manifest.json obsidotion-plugin/
36+ cp styles.css obsidotion-plugin/
37+
38+ - name : Create zip
39+ run : cd obsidotion-plugin && zip -r ../obsidotion-plugin.zip . && cd ..
40+
41+ - name : Upload release asset
42+ uses : actions/upload-artifact@v4
43+ with :
44+ name : obsidotion-plugin
45+ path : obsidotion-plugin.zip
46+
47+ - name : Create Release
48+ uses : softprops/action-gh-release@v1
49+ with :
50+ tag_name : v${{ github.run_number }}
51+ name : Release v${{ github.run_number }}
52+ files : obsidotion-plugin.zip
53+ draft : false
54+ prerelease : false
55+ env :
56+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -10,14 +10,25 @@ A simple obsidian plugin that syncs from/to obsidian/notion. Works on all platfo
1010
1111# How to use
12121 . Star the repo : P
13- 2 . Install the plugin
13+ 2 . Install the plugin (see installation methods below)
14143 . Follow this instruction: https://github.com/EasyChris/obsidian-to-notion/?tab=readme-ov-file#how-to-use
1515
1616After that you can:
17171 . Upload the whole vault to notion ( replaces remote data if already exists )
18182 . Download the whole notion database to obsidian ( replaces local file if already exists )
1919
20- # How to install manually
20+ # How to install
21+
22+ ## Method 1: Download from releases (easiest)
23+ 1 . Go to [ Releases] ( https://github.com/p32929/obsidotion/releases )
24+ 2 . Download ` obsidotion-plugin.zip ` from the latest release
25+ 3 . Extract the zip file
26+ 4 . Copy the extracted folder to ` your_obsidian_vault/.obsidian/plugins/obsidotion `
27+ 5 . Open obsidian and enable the plugin
28+
29+ ## Method 2: Manual build
30+
31+
21321 . Star the repo : P
22332 . Clone the repo inside ` your_obsidian_vault/.obsidian/plugins `
23343 . Go to the folder
Original file line number Diff line number Diff line change 11{
22 "name" : " obsidotion" ,
3- "version" : " 1.0.3 " ,
3+ "version" : " 1.0.4 " ,
44 "description" : " a simple obsidian plugin that syncs from/to obsidian/notion" ,
55 "main" : " main.js" ,
66 "scripts" : {
You can’t perform that action at this time.
0 commit comments