From aef6cd389d73b805637a28679a120aa747ef3400 Mon Sep 17 00:00:00 2001 From: ikoamu Date: Sun, 4 Feb 2024 20:48:41 +0900 Subject: Add site title option to action.yml --- action.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/action.yml b/action.yml index ac1e990..30ae6f9 100644 --- a/action.yml +++ b/action.yml @@ -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/ -- cgit