aboutsummaryrefslogtreecommitdiff
path: root/action.yml
diff options
context:
space:
mode:
Diffstat (limited to 'action.yml')
-rw-r--r--action.yml5
1 files changed, 4 insertions, 1 deletions
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