diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index b3f7dfc..2e93359 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -6,7 +6,7 @@ on: - "*" env: - PLUGIN_NAME: obsidian-to-notion + PLUGIN_NAME: share-to-notionnext jobs: build: @@ -23,4 +23,4 @@ jobs: id: build run: | npm install - npm run build \ No newline at end of file + npm run build diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dc0ed00..d2a80ad 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,7 +6,7 @@ on: - "*" env: - PLUGIN_NAME: obsidian-to-notion # Change this to match the id of your plugin. + PLUGIN_NAME: share-to-notionnext # Change this to match the id of your plugin. jobs: build: @@ -34,7 +34,7 @@ jobs: id: create_release uses: actions/create-release@v1 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }} VERSION: ${{ github.ref }} with: tag_name: ${{ github.ref }} @@ -46,7 +46,7 @@ jobs: id: upload-zip uses: actions/upload-release-asset@v1 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} asset_path: ./${{ env.PLUGIN_NAME }}.zip @@ -57,7 +57,7 @@ jobs: id: upload-main uses: actions/upload-release-asset@v1 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} asset_path: ./main.js @@ -68,7 +68,7 @@ jobs: id: upload-manifest uses: actions/upload-release-asset@v1 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} asset_path: ./manifest.json @@ -79,9 +79,9 @@ jobs: # id: upload-css # uses: actions/upload-release-asset@v1 # env: - # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # GITHUB_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }} # with: # upload_url: ${{ steps.create_release.outputs.upload_url }} # asset_path: ./styles.css # asset_name: styles.css - # asset_content_type: text/css \ No newline at end of file + # asset_content_type: text/css diff --git a/README-zh.md b/README-zh.md index efcc80b..a5307e4 100644 --- a/README-zh.md +++ b/README-zh.md @@ -1,4 +1,4 @@ -# Obsidian to NotionNext +# Obsidian share to NotionNext 感谢[原作者](https://github.com/EasyChris/obsidian-to-notion)开发出了这么好用的插件,能够将obsidian同步到notion。 但是原仓库只能同步Name和Tags信息,如果像我一样通过[NotionNext](https://github.com/tangly1024/NotionNext)来搭建自己的网页,就有一些局限性。每次导入之后都需要进行大量的修改。 所以我在[原作者](https://github.com/EasyChris/obsidian-to-notion)的基础之上,增加了匹配[NotionNext](https://github.com/tangly1024/NotionNext)模板的功能。这样可以直接在Obsidian编辑,整理好之后一键发布。 diff --git a/manifest.json b/manifest.json index 7d7d0d3..b42c792 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "share-to-notionnext", - "name": "Share markdown to NotionNext", - "version": "0.0.2", + "name": "Share to NotionNext", + "version": "0.0.3", "minAppVersion": "0.0.1", "description": "This is a plugin for Obsidian. This plugin share obsidian md file to notion with notion api for NotionNext web deploy.", "author": "jxpeng98", diff --git a/package.json b/package.json index 92874f7..efe14ab 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "share-to-notionnext", - "version": "0.0.2", + "version": "0.0.3", "type": "module", "description": "This is a plugin for Obsidian. This plugin share obsidian md file to notion with notion api for NotionNext web deploy.", "main": "main.js",