From 283887a8cfda2d509f6bcd6dadca919c3c874e61 Mon Sep 17 00:00:00 2001 From: ikoamu Date: Sun, 7 Apr 2024 19:42:59 +0900 Subject: feat generate searchdata script --- action.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'action.yml') diff --git a/action.yml b/action.yml index 68fccce..89b7bd0 100644 --- a/action.yml +++ b/action.yml @@ -58,7 +58,15 @@ runs: shell: bash - name: Create Notes working-directory: action - run: ./create_notes.sh ../orgs/${{ inputs.org-roam-directory }} + run: ./create_notes.sh ../orgs/${{ inputs .org-roam-directory }} + shell: bash + - name: Create Search data + working-directory: action + run: npm run generate:search + shell: bash + - name: Copy seachdata.json to ../ui/components/Search + working-directory: action + run: cp --force searchdata.json ../ui/components/Search/ shell: bash - name: Copy org/img to ui/public/ working-directory: action -- cgit