Skip to content

draw.io CLI

Actions
Export draw.io diagrams with drawio-desktop
v1.0.0
Latest
Star (15)

actions-drawio-cli

Run drawio-desktop in your github actions pipeline!

Usage

See action.yml

Params

  • source - input source file or directory
  • destination - output file or directory
  • format - output file format, default: svg

Example

Better use with actions-checkout and git-auto-commit

steps:
  - uses: actions/checkout@v2
    with:
      ref: ${{ github.head_ref }}
  - uses: severgroup-tt/actions-drawio-cli@v0.0.2
    with:
      source: doc/diagram.drawio
      destination: doc/diagram.svg
  - uses: stefanzweifel/git-auto-commit-action@v4
    with:
      file_pattern: doc/*.svg
      commit_message: Update diagrams

draw.io CLI is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Export draw.io diagrams with drawio-desktop
v1.0.0
Latest

draw.io CLI is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.