From d3f573b4afd0e9a03d2f777081a9c3332ae8de84 Mon Sep 17 00:00:00 2001 From: Lu Baumann Date: Tue, 17 Oct 2023 02:02:13 +0000 Subject: [PATCH] fixed generated file links --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index c9673df..c50b487 100644 --- a/action.yml +++ b/action.yml @@ -17,7 +17,7 @@ runs: 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](\1.csv)|g' "{}" ";" + run: find "${{ github.workspace }}" -type f -name '*.md' -exec sed -ri 's|\[\[(.*\.excalidraw)\]\]|![\1](\1.svg)|g' "{}" ";" shell: bash - name: Stop containers run: docker-compose -f "${{ github.action_path }}/docker-compose.yml" down