diff options
author | ikoamu <ikoamu@gmail.com> | 2024-09-28 21:54:19 +0900 |
---|---|---|
committer | ikoamu <ikoamu@gmail.com> | 2024-09-28 21:54:19 +0900 |
commit | 8a30681ecd443153fb7f3a65a662cf873d3df1a7 (patch) | |
tree | ce68ed414a4c02c23c1e2fa280d8312ccc470963 | |
parent | c273da65c2b1bf2096997bd3818b22f31b4c9d40 (diff) |
fix: .env setting
-rw-r--r-- | action.yml | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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/ |