Skip to content

Commit

Permalink
feat: default-section open flag
Browse files Browse the repository at this point in the history
  • Loading branch information
ikoamu committed Sep 28, 2024
1 parent 15e6334 commit c273da6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c273da6

Please sign in to comment.