aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorikoamu <ikoamu@gmail.com>2024-09-28 21:54:19 +0900
committerikoamu <ikoamu@gmail.com>2024-09-28 21:54:19 +0900
commit8a30681ecd443153fb7f3a65a662cf873d3df1a7 (patch)
treece68ed414a4c02c23c1e2fa280d8312ccc470963
parentc273da65c2b1bf2096997bd3818b22f31b4c9d40 (diff)
fix: .env setting
-rw-r--r--action.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/action.yml b/action.yml
index e505fc3..46c32fe 100644
--- a/action.yml
+++ b/action.yml
@@ -97,10 +97,14 @@ runs:
working-directory: ui
run: yarn install
shell: bash
- - name: Setting .env
+ - name: Set NEXT_PUBLIC_TITLE to .env
working-directory: ui
- run: echo "NEXT_PUBLIC_TITLE=${{ inputs.site-title }}\nNEXT_PUBLIC_DEFAULT_SECTION_OPEN=${{ inputs.default-section-open }}" > .env
shell: bash
+ run: echo "NEXT_PUBLIC_TITLE=${{ inputs.site-title }}" > .env
+ - name: Set NEXT_PUBLIC_DEFAULT_SECTION_OPEN to .env
+ working-directory: ui
+ shell: bash
+ run: echo "NEXT_PUBLIC_DEFAULT_SECTION_OPEN=${{ inputs.default-section-open }}" >> .env
- name: Build org-roam-ui
working-directory: ui/standalone
run: ./build-standalone-server.sh ../../action/