From a83299cfabbfe9fb542b019c3902f4b2e4461104 Mon Sep 17 00:00:00 2001 From: ikoamu Date: Wed, 24 Jan 2024 23:03:54 +0900 Subject: Add org-roam-db-file input to action.yml --- action.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'action.yml') diff --git a/action.yml b/action.yml index 5541de0..688fc48 100644 --- a/action.yml +++ b/action.yml @@ -1,6 +1,9 @@ name: "Publish org-roam to GitHub Pages" inputs: + org-roam-db-file: + description: "org-roam db filename" + required: true deploy-to-pages: description: "Deploy to GitHub Pages" required: false @@ -42,7 +45,7 @@ runs: shell: bash - name: Generate graphdata.json working-directory: action - run: npm run generate --script_params=../orgs/org-roam.db + run: npm run generate --script_params=../orgs/{{ inputs.org-roam-db-file }} shell: bash - name: Create Notes working-directory: action -- cgit