added more debug to to_svg.sh
This commit is contained in:
parent
30fbd9862e
commit
3c92102995
@ -4,3 +4,4 @@ echo ::debug::'$2:' "$2"
|
|||||||
EXCALIDRAW=$(jq '{"type": .type, "version": .version, "source": .source, "elements": .elements, "appState": {"gridSize": null, "exportWithDarkMode": '"$2"'}}' "$1")
|
EXCALIDRAW=$(jq '{"type": .type, "version": .version, "source": .source, "elements": .elements, "appState": {"gridSize": null, "exportWithDarkMode": '"$2"'}}' "$1")
|
||||||
echo ::debug::'$EXCALIDRAW' "$EXCALIDRAW"
|
echo ::debug::'$EXCALIDRAW' "$EXCALIDRAW"
|
||||||
curl localhost:8080/excalidraw/svg --data-raw "$EXCALIDRAW" > "$1.svg"
|
curl localhost:8080/excalidraw/svg --data-raw "$EXCALIDRAW" > "$1.svg"
|
||||||
|
echo ::debug::"svg: $(cat $1.svg)"
|
||||||
|
Loading…
Reference in New Issue
Block a user