added debug

This commit is contained in:
Lu Baumann 2023-10-17 10:22:35 +00:00 committed by GitHub
parent 9518372418
commit 01959a8355
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,11 +14,13 @@ runs:
- run: bash "${{ github.action_path }}/wait_for_kroki.sh"
shell: bash
- name: Creating SVG files
run: find "${{ github.workspace }}" -type f -name '*.excalidraw' -exec bash "${{ github.action_path }}/to_svg.sh" "{}" ${{ inputs.dark-mode == 'true' }} ";"
run: (cd "${{ github.workspace }}" && find . -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](assets/autogen/\1.svg)|g' "{}" ";"
shell: bash
- name: Debug - Setup upterm session
uses: lhotari/action-upterm@v1
- name: Stop containers
run: docker-compose -f "${{ github.action_path }}/docker-compose.yml" down
shell: bash