diff options
author | ikoamu <ikoamu@gmail.com> | 2024-02-04 20:48:41 +0900 |
---|---|---|
committer | ikoamu <ikoamu@gmail.com> | 2024-02-04 20:48:41 +0900 |
commit | aef6cd389d73b805637a28679a120aa747ef3400 (patch) | |
tree | f908c9a3afe0133d66760fd85ac8b2a8167977d6 | |
parent | ee545b08b791f22715eda3d03c741395869a340f (diff) |
Add site title option to action.yml
-rw-r--r-- | action.yml | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -9,6 +9,10 @@ inputs: org-roam-db-filename: description: "org-roam db filename" required: true + site-title: + description: "Site title" + required: false + default: "ORUI" deploy-to-pages: description: "Deploy to GitHub Pages" required: false @@ -65,6 +69,10 @@ runs: working-directory: ui run: yarn install shell: bash + - name: Setting .env + working-directory: ui + run: echo "NEXT_PUBLIC_TITLE=${{ inputs.site-title }}" > .env + shell: bash - name: Build org-roam-ui working-directory: ui/standalone run: ./build-standalone-server.sh ../../action/ |