From 90f98307fbb86c9b073fe317e3452aa87a1125df Mon Sep 17 00:00:00 2001 From: Lu Baumann Date: Sun, 15 Oct 2023 12:05:58 +0200 Subject: [PATCH] fixed wrong variable access --- action.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/action.yml b/action.yml index d819787..c899193 100644 --- a/action.yml +++ b/action.yml @@ -1,9 +1,6 @@ name: Logseq Excalidraw to SVG description: Converts excalidraw to svg references inputs: - home-md-file: - description: Markdown file of the page you see when accessing the published site - required: false dark-mode: description: If drawings should be exported in dark mode required: false @@ -15,7 +12,7 @@ runs: run: docker-compose -f "${{ github.action_path }}/docker-compose.yml" up -d --build shell: bash - name: Creating SVG files - run: find "${{ github.workspace }}" -type f -name '*.excalidraw' -exec bash "${{ github.action_path }}/to_svg.sh" "{}" ${{ input.dark-mode == 'true' }} ";" + run: find "${{ github.workspace }}" -type f -name '*.excalidraw' -exec bash "${{ github.action_path }}/to_svg.sh" "{}" ${{ inputs.dark-mode == 'true' }} ";" shell: bash - name: Replace excalidraw file references run: find "${{ github.workspace }}" -type f -name '*.md' -exec sed -ri 's|(\[\[.*\.excalidraw)(\]\])|\1.csv\2|g' "{}" ";"