try as images from d2
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Andre Henriques 2023-12-04 10:40:25 +00:00
parent ac5935e578
commit d9dc7ff43b

View File

@ -11,9 +11,9 @@ steps:
- name: Build diagrams
commands:
- cd diagrams
- ls | grep d2 | xargs -I{} d2 --layout=elk {}
- cp *.svg '../report'
- ls | grep ".svg" | sed 's/.svg//' | xargs -I{} inkscape {}.svg -o {}.png
- ls | grep d2 | xargs -I{} d2 --layout=elk {}.svg
- ls | grep d2 | xargs -I{} d2 --layout=elk {}.png
- mv *.svg '../report'
- mv *.png '../images for report'
- cd -