diff options
author | ikoamu <ikoamu@gmail.com> | 2024-09-28 21:46:13 +0900 |
---|---|---|
committer | ikoamu <ikoamu@gmail.com> | 2024-09-28 21:46:13 +0900 |
commit | c273da65c2b1bf2096997bd3818b22f31b4c9d40 (patch) | |
tree | f591e48688043ca385ee377354133aca38821baa | |
parent | 15e6334067052c03d8afadd7012e8f682d01e2a8 (diff) |
feat: default-section open flag
-rw-r--r-- | action.yml | 6 | ||||
-rw-r--r-- | package-lock.json | 4 |
2 files changed, 7 insertions, 3 deletions
@@ -21,6 +21,10 @@ inputs: description: "Deploy to GitHub Pages" required: false default: "false" + default-section-open: + description: "Default section open" + required: false + default: "true" ui-ref: description: "Specify org-roam-ui branch" required: false @@ -95,7 +99,7 @@ runs: shell: bash - name: Setting .env working-directory: ui - run: echo "NEXT_PUBLIC_TITLE=${{ inputs.site-title }}" > .env + run: echo "NEXT_PUBLIC_TITLE=${{ inputs.site-title }}\nNEXT_PUBLIC_DEFAULT_SECTION_OPEN=${{ inputs.default-section-open }}" > .env shell: bash - name: Build org-roam-ui working-directory: ui/standalone diff --git a/package-lock.json b/package-lock.json index 59bc553..679bf07 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "publish-org-roam-ui-script", - "version": "1.0.0", + "version": "1.4.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "publish-org-roam-ui-script", - "version": "1.0.0", + "version": "1.4.0", "license": "ISC", "dependencies": { "fuse.js": "^7.0.0", |