fixed generated file links

This commit is contained in:
Lu Baumann 2023-10-17 02:02:13 +00:00 committed by GitHub
parent 90b43f4b57
commit d3f573b4af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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' }} ";" run: find "${{ github.workspace }}" -type f -name '*.excalidraw' -exec bash "${{ github.action_path }}/to_svg.sh" "{}" ${{ inputs.dark-mode == 'true' }} ";"
shell: bash shell: bash
- name: Replace excalidraw file references - 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 shell: bash
- name: Stop containers - name: Stop containers
run: docker-compose -f "${{ github.action_path }}/docker-compose.yml" down run: docker-compose -f "${{ github.action_path }}/docker-compose.yml" down