From c273da65c2b1bf2096997bd3818b22f31b4c9d40 Mon Sep 17 00:00:00 2001 From: ikoamu Date: Sat, 28 Sep 2024 21:46:13 +0900 Subject: feat: default-section open flag --- action.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'action.yml') diff --git a/action.yml b/action.yml index b3437df..e505fc3 100644 --- a/action.yml +++ b/action.yml @@ -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 -- cgit