added replacing markdown syntax
This commit is contained in:
parent
90f98307fb
commit
1dc68a310f
@ -15,7 +15,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.csv\2|g' "{}" ";"
|
run: find "${{ github.workspace }}" -type f -name '*.md' -exec sed -ri 's|\[\[(.*\.excalidraw)\]\]|![\1](\1.csv)|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
|
||||||
|
Loading…
Reference in New Issue
Block a user